27 Sep
2000
27 Sep
'00
17:45
Sridhar wrote:
i tried settingit up so that , every packet from the internal machine whose destination is _not_ the gateway must be forwarded to the gateway. but somehow i think i'm wrong in giving the command. Just do this: echo 1 > /proc/sys/net/dev/ipv4/ip_forward (or enable ip-forwarding in /etc/rc.config) ipchains -A forward -s 192.168.1.0/24 -j MASQ
on the client machine (internal network) set the masquerading host as gateway. You may also want to look at the SuSEfirewall script, which can do masqerading and lots of other good stuff for you bye Markus -- _____________________________ Markus Gaugusch ICQ 11374583 markus@gaugusch.dhs.org Linux only user