:: Re: [DNG] Recommended location for …
Página Inicial
Delete this message
Reply to this message
Autor: Gregory Nowak
Data:  
Para: dng
Assunto: Re: [DNG] Recommended location for iptables rules
On Mon, Dec 05, 2016 at 06:50:15PM +0200, Lars Noodén wrote:
> Where should we be commending the storage of iptables rules in Devuan
> Jessie?


While this doesn't exactly answer your question, I simply have a
script in /usr/local/etc called firewall.sh which runs all the
iptables rules that I want to run. I invoke that script from
/etc/rc.local, which runs it after the interfaces come up, but that
doesn't bother me. I could also have run it from /etc/init.d which I
have done in the past, or from /etc/network/if-*.d, or from the iface
definition itself. I find this easier than iptables
save/restore/list. While this might not be the recommended way to do
things, it works for me, and does what I want/need it to do.

Greg


--
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-manager@???