Quote:
Originally posted by win32sux
in slackware i take my iptables script and put it in /etc/rc.d/rc.firewall and then make it executable and it's good to go...
is there an equivalent for doing this in debian???
what's the "debian way" of setting your firewall script???
|
Put it in the /etc/init.d/ directory make it executable and then:
Code:
update-rc.d rc.firewall start 20 2 3 4 5 . stop 20 0 1 6 .
Will make the proper links in the /etc/rc?.d directories to start and stop properly on boot or shutdown. Note the . in the line they are important.