Re: ip masquerading in 2.1.x

Ruslan V. Brushkoff (rus@farlep.net)
Sat, 17 Jan 1998 20:14:26 +0200 (EET)


On Sat, 17 Jan 1998, David Burrows wrote:

: On Fri, 16 Jan 1998, Chris Atenasio wrote:
:

[...]

: # Enable IP Masquerading forwarding rules
: ipfwadm -F -p masquerade
: ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0 -W eth0
:
: # Start IP forwarding
: echo "1" > /proc/sys/net/ipv4/ip_forwarding
:
: Now, I can't be sure that having masquerade as the default rule for
: forwarding is a smart thing to do, but that's the only way I could get it
: to work. If I use default rule deny, it will not work.
:

If you remove '-W eth0' all become to work again - some strangeness ...

: Regards,
:
: Dave.
:
:

Rus