IPMasq under 2.1.113

Linux-Kernel Archives (kernel@damacus.dyn.ml.org)
Sun, 2 Aug 1998 17:24:06 -0500


Recently I have been upgrading several computers to handle 2.1 kernels. I
have sucessfully compiled 2.1.113 without errors, everything was smooth UNTIL
IP masquerading needed to be configured.

After checking the IP Masq homepage (which has majorly outdated 2.1 info not
covering ipchains) I concluded that I had compiled in all needed support.

But when I do:

echo "1">/proc/sys/net/ipv4/ip_forward
ipchains -A forward -j MASQ -s 192.168.2.0/24 -d 0.0.0.0/0 -i eth0

There is no forwarding being done. All of the masquerading was working in the
2.0 kernels. Is there maybe something I am forgetting?

For ref:
IPChains v1.3.4
CONFIG_FIREWALL=y
CONFIG_IP_ALWAYS_DEFRAG=y
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_ICMP=y
CONFIG_IP_MASQUERADE_IPAUTOFW=y
CONFIG_IP_MASQUERADE_IPPORTFW=y
Masqing between 192.168.2.1 and 192.168.2.2

With regards,
-D

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html