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

Re: iptables and 2.4.1



On Tue, Feb 20, 2001 at 08:47:20AM -0500, spent187 wrote:
> (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? 

    Officially you shouldn't have to use iptables. They made it backwards
compatible this time, but it's recommended to learn iptables to get its cool
features. 

    Mike



Reply to: