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

Re: IPTables Location



Johnno wrote:
> 
> I have just install debian, but can't find the location where the IPTable
> routines are loaded on bootup..

There isn't one.

The closest thing to it is the /var/lib/iptables/active file. You can
create this by first adding the firewall rules by hand (or through a
script) and then running:

iptables-save > /var/lib/iptables/active

This file will then get loaded on startup, or when you run:

invoke-rc.d iptables start

Alternatively, create your own script and symlink it into /etc/rc2.d.
This is my preferred solution.


Hope this helps,

-- 
George Borisov

DXSolutions Ltd

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: