LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Andreja Zivkovic <zivkotech@ozemail.com.au>
  To  : LinuxSA <linuxsa@linuxsa.org.au>
  Date: Thu, 18 Mar 1999 13:21:19 +1030

Re: Masquerading under 2.2.x

Thanks for replying, however, i have been able to get IP masquerading
working under 2.2.2, but not 2.2.3. When I boot under my 2.2.3 kernel, there
is no /proc/sys directory, so I cannot enable IP forwarding! (by doing an
echo "1" > /proc/sys/net/ipv4/ip_forwarding ) This isn't really a major
problem, since I can still get masquerading to work, but 2.2.3 has a higher
number and therefore should be better ;)

>For the old ipfwadm.. and these lines for ICQ masqurading (demonstrating
the
>new autofw code)
>ipmasqadm autofw -A -r tcp 4000 4011 -h 192.168.1.24 -i
>ipmasqadm autofw -A -r tcp 5000 5011 -h 192.168.1.25 -i
>btw - autofw, portfw, mfw are now part of "ipmasqadm" - a replacement for
>the old forwarders. I think this is included in the ip-chains package.


Thanks, I'll try this. :)


>Its got some nifty new things in /proc/net/ip-masq. The only bummer is i
>dont think netstat -m tells you all masqurading connections. Next version
eh
>guys? :)


You can do a :
ipchains -L -M
for this. :)

Cya,
Andy

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page