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

Re: Starting iptables



* John Hasler (jhasler@debian.org) wrote:
> Patrick writes:
> > I suppose that I could do something similar with Debian, but would like
> > to make sure that there is not some more correct way to handle it first.
> 
> No more correct but more sensible would be to install one of the several
> packages that do exactly what you want.  I like ipmasq.

In the process of googling for info on this I did find a page at 
http://www.debian-administration.org/articles/445 which had a fairly
simple approach.  There it recommends putting a script in
/etc/network/if-up.d to run iptables-restore.  This is similar to the
Gentoo way, except that was somewhat automated with a script in init.d
which, oddly, Debian is lacking.  Assuming this works it does have
simplicity on its side though, and that is always a good thing.

Patrick



Reply to: