Re: iptables default
On Thu, 2003-03-13 at 14:00, Emile van Bergen wrote:
> Hi,
>
> On Thu, Mar 13, 2003 at 01:14:30PM +1100, Glenn Hocking wrote:
>
> > Hi all
> >
> > I've got a couple of simple port forwarding rules to forward from a
> > debian/testing ADSL Internet gateway to a citrix box but are unsure how
> > to make them stay loaded after a reboot.
> >
> > Is there a default rule table somewhere? Or do I need to just execute
> > the commands from a script on startup?
>
> No, yes.
>
> I usually create an /etc/init.d/firewall for this purpose which I link
> to from /etc/rc2.d/S25firewall and /etc/rc0.d/K15firewall.
I've recently discovered shorewall which makes everything iptables
related easy. It even has a webmin module that makes configuring it
almost brain-free. Shorewall makes iptables easy, but is flexible enough
to do anything.
--
----------------------------------------------------------------------
ABO: finger abo@minkirri.apana.org.au for more info, including pgp key
----------------------------------------------------------------------
Reply to: