[plug] kernel masq config

Cameron Patrick cameron at patrick.wattle.id.au
Mon Dec 15 13:53:36 WST 2003


On Mon, Dec 15, 2003 at 08:38:39AM +0800, smclevie wrote:

| I am wanting to establish IP masquerading...
| 
| I am starting to wonder if I have a kernel which supports such things!!

Your kernel config looks fine, so I suspect the problem lies elsewhere.

Have you enabled ip_forwarding? Try
	$ cat /proc/sys/net/ipv4/ip_forward

If it prints 0, it's disabled, and you need to add
	net/ipv4/ip_forward=1
to /etc/sysctl.conf, and do a /etc/init.d/procps.sh restart to make the
it apply immediately.

Another basic thing to check is, have you got your iptables set up
properly?  Is there a -j MASQUERADE in there somewhere?  Are you denying
forwarding using iptables when you shouldn't be?

Cameron.




More information about the plug mailing list