* l41484@alfa.ist.utl.pt writes:
Has anyone been able to use masquerading & firewalling scripts that appeared on suse 6.2 (6.1??).
Yes. It worked after I added the "echo..." line in the "start section" of "/sbin/init.d/masquerade": # enable IP forwarding echo 1 > /proc/sys/net/ipv4/ip_forward # check if IP forwarding is enabled To me this seems ridiculous, since the next thing the script does is to check if IP forwarding is enabled: if test `cat /proc/sys/net/ipv4/ip_forward` -eq 1 ; then But it works! And who else would enable it, if not the masquerade script? BTW: "/usr/doc/packages/ipchains/ipchains-HOWTOs-1.0.7/HOWTO.txt": 6.2. Masquerading/Forwarding Doesn't Work! Make sure that packet forwarding is enabled (in recent kernels it is disabled by default, meaning that packets never even try to traverse the `forward' chain). You can override this (as root) by typing # echo 1 > /proc/sys/net/ipv4/ip_forward # If this works for you, you can put this somewhere in your bootup scripts so it is enabled every time; you'll want to set up your firewalling before this command runs though, otherwise there's an opportunity for packets to slip through. HTH -- Mark Lutz Accept German and English