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

Re: simple firewall for masquerade



Joakim Roubert wrote:

Hi!

I have a laptop that I usually attach to my alpha, which is connected to
the internet. Before (running RH) I had the most simple example script of
a firewall that I could find in the HOWTO:s, since this did masquerade for
me.

Now, running Debian, I have all thiss netconf with all the rules and
everything. Well, I don't need a very advanced firewall or so, I just need
the laptop to be masqueraded.

Does anybody have a hint on the easiest way to do this?

apt-get install ipmasq

It uses ipchains (or its front-end in 2.4), and installs an init.d script which automatically determines at boot time which interface is on the net, and sets up rules accordingly. Fully automatic everything. Firewall rules are pretty conservative, but very customizable, and I've never need to open anything up -- its best to err on the conservative side right?

Ain't Debian great?
--

-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>





Reply to: