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

Re: automatic firewall start/stop



Hi!

On Fri, Aug 02, 2002 at 09:23:22AM -0700, Richard Weil wrote:
> Does anyone have an example of how to integrate a
> firewall/IP masquerading script into the appropriate
> network init scripts? My firewall/masquerading works

just put a suited script into /etc/network/if-up.d/ and if-down.d/, or
on a dialup setup into /etc/ppp/ip-up.d/ vs ip-down.d/

OTOH if you have an iptables-only firewall without QOS stuff, you may
save an active and an inactive ruleset via /etc/init.d/iptables and have
it loaded at boot-time.

HTH
Frederik Schüler



Reply to: