[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

iptables and 2.4.1



(i hope this posts properly)

I am relatively new to linux, and have recently upgraded to woody, and the 2.4.1 kernel. But now my ip masq'ing doesn't work. This is what I had in 2.2.18pre with potato:

echo -n "Starting IP masquerading... "
echo "1" > /proc/sys/net/ipv4/ip_forward

ipchains -A forward -s 192.168.0.2 -d 192.168.0.2 -j ACCEPT
ipchains -A forward -s 24.141.108.59 -d 0/0 -j ACCEPT
ipchains -A forward -s 192.168.0.2 -d 0/0 -j MASQ

That worked fine. But with 2.4.1 I understand I must use iptables, but I don't know what I have to change in my script... Could someone please point out my stupidity and help me out here?
Thanks...



Reply to: