NAT and gateway
Doug Poland
doug at polands.org
Sun Nov 2 15:21:12 PST 2003
On Sun, Nov 02, 2003 at 06:07:23PM +0200, Petre Bandac wrote:
> snack% /sbin/ifconfig
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 213.157.171.x netmask 0xffffff00 broadcast 213.157.171.255
> ether 00:02:44:30:dc:4b
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 213.157.185.x netmask 0xfffffff0 broadcast 213.157.185.239
> inet 192.168.200.1 netmask 0xffffff00 broadcast 192.168.200.255
> ether 00:02:44:34:8c:72
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet 127.0.0.1 netmask 0xff000000
>
> that is what you want to do ?
>
Found it, redirect_address in natd.conf. Thanks...
--
Regards,
Doug
More information about the freebsd-questions
mailing list