Masquerading does not work

Support knowledgebase (grimmer_msq)
Applies to

SuSE Linux: Versions up to (including) 7.3

Symptom:

You want to give internet access to other machines in your network using a linux host with IP masquerading functionality. However, even though the kernel options and the variables in /etc/rc.config seem to be correct, there's no connection.

Cause:

Eventually, ip_forwarding is installed in the linux kernel, but has not been activated yet.

Solution:

Set the variable IP_FORWARD in /etc/rc.config to "yes". Forwarding will be activated after the next reboot. If rebooting is not an option, you can activate the forwarding functionality by hand:

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


Keywords: MASQUERADE, MASQUERADING, FORWARDING

Categories: Configuration

SDB-grimmer_msq, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 03. Mär 1999
SuSE Linux AG - Last generated: 03. Apr 2002 by sdb (sdb_gen 1.40.0)