[H-GEN] ip masq, ,chaining, proxies, squid etc

Michael Anthon mca at tams.com.au
Sat Sep 11 20:49:27 EDT 1999


[ Humbug *General* list - semi-serious discussions about Humbug and
Unix-related topics. ]

Something else to note that others seemed to have missed is ensuring that
masquerading is enabled in the kernel.  To check this, do

 cat /proc/sys/net/ipv4/ip_forward

If you see a 1, then it is enabled, if you see 0, then all the rules in the
world will not help.  If you see a 0, then try

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

Under RedHat, this is configured at boot time by setting

 FORWARD_IPV4=yes

In the /etc/sysconfig/network file.

Another thing worth checking is whether or not the kernel supports
masquerading.  I have not used RH6 so I do not know if the default kernel
shipped with it supports masq.  Perhaps someone who DOES know for certain
could comment

Cheers
Michael Anthon

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list