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

Re: Masquerade Help Requested

penguin@peoplepc.com wrote:

Ok, with all you folks' help i have my mini-LAN established.  Special
thanks to those that told me about the correct cables to use and pointed
me to the correct drivers for my network cards.
I was fooling around with iptables and got the masquerade thing to work,
albeit with a slow dial-up line as a connection to the internet.

It may be too late for you, but here's what I did:

apt-get install ipmasq

That's it!

When installing, it runs its ipmasq init.d script, which automatically loads the relevant kernel modules (I think it still uses ipchains), tests all of the network connections to determine which is actually connected to the internet, calculates its rules based on the net connection, and sets up a pretty tight set of firewall rules on the box. I have used it on my home LAN for years, and have not had to relax any of its rules.

Furthermore, if you like, it can recalculate all of the rules on each ppp up/down (configured via debconf).

Pretty neat, huh?


-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe! <http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>

To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: