Re: Again: Maquerading FireWall Feature and New Init behaviour !

Harald Hoyer (saturn@studbox.uni-stuttgart.de)
Sun, 12 Jan 1997 04:37:59 +0100


Stefan Bosnjakovic wrote:
> The transparent masquerading works quite well for me with the 2.0.25/27 kernel,
> but it does not seem to forward anything with 2.1.17-2.1.19. Any ideas?

Try adding rules for outgoing and incoming packets with ipfwadm:
e.g.
ipfwadm -F -a accept -m -S xx.xx.xx.0/24 -D 0.0.0.0/0 -W eth1
ipfwadm -F -a accept -S 0.0.0.0/0 -D xx.xx.xx.0/24 -W eth0

and

echo 1 >/proc/sys/net/ipv4/ip_forwarding

-- 
Harald Hoyer  
saturn@studbox.uni-stuttgart.de 
http://saturnnet.wh.uni-stuttgart.de/~saturn
-------------------------------------------------------------------------
> Someone:
> Asking Linus to add such things in the kernel is as pertinent as asking 
> to still support 80286 CPU (IMHO).
We are working on it.
Alan Cox