Subject: RE: How to redirect through ipnat?
To: None <netbsd-help@netbsd.org>
From: Melnikov Denis <denis.melnikov@regent.ru>
List: netbsd-help
Date: 12/13/2005 17:48:28
> ipnat.conf:
>
> map fxp0 10.0.0.0/16 -> 0.0.0.0/32 portmap tcp/udp 40000:60000
> map fxp0 10.0.0.0/16 -> 0.0.0.0/32
> rdr fxp0 100.100.200.200/32 port 3389 -> 10.0.0.2 port 80 tcp
> rdr fxp0 100.100.200.200/32 port 3389 -> 10.0.0.2 port 80 udp
Of course, I meant:
rdr fxp0 100.100.200.200/32 port 80 -> 10.0.0.2 port 80 tcp
rdr fxp0 100.100.200.200/32 port 80 -> 10.0.0.2 port 80 udp
> rdr fxp0 100.100.200.200/32 port 3389 -> 10.0.0.2 port 3389 tcp
> rdr fxp0 100.100.200.200/32 port 3389 -> 10.0.0.2 port 3389 udp