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

Re: iptables and 2.4.1



You "generaly" must replace "ipchains" with "iptables" in your script if you
want to have the possibilities of Iptables, I don't know in how far they
changed the syntax, rtfm. If you still want to use ipchains you must compile
your kernel with backward compatibility (not to remind that you possibly
must compile your kernel anyway for using iptables!!!). Also you must have
the netfilter tools (just search for netfilter at freshmeat.net, there you
are :)).

Hanno

----- Original Message -----
From: Michael P. Soulier <msoulier@storm.ca>
To: <debian-user@lists.debian.org>
Sent: Thursday, February 22, 2001 12:30 PM
Subject: 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
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>



Reply to: