[Wolves] IP Masq Success!!

Dan wolves at mailman.lug.org.uk
Tue Dec 3 10:27:01 2002


Aquarius wrote:

> Jono Bacon spoo'd forth:
>
> >Hi all,
> >I have good to news to share - I finally managed to
> >get my network set up with IP Masquerading!!
> >I went out and bought a cheap PC, installed Debian
> >stable, did a dist-upgrade, set up the interfaces,
> >recompiled the kernel with ipchains support and got it
> >working.
> You are aware, naturally, that ipchains doesn't work properly on  a 2.4
> kernel (I think)? 2.4 kernels use iptables -- the kernel  firewall  guys
> can't leave anything  alone,  so  they  rewrite  the  whole  firewalling
> subsystem with every new kernel release :(

IIRC iptables has an ipchains compatibility module.

IIRC.  :)

Though quite why anyone would want to use it is beyond me.  Iptables is 
far superior IMHO.  Pfft!  May as well use ipfwadm... ;)

> >I now have eth0 on 192.168.0.1 and eth1 on 192.168.1.1
> >which connects to the hub for the subnet. I am sure
> >this is not the best way, but it works. :D
>
> That makes sense, although surely eth0 will be connected to  your  cable
> modem?

It doesn't really matter does it?  As long as dhcpd is set up correctly...

-- 
Dan