Thread: iptables
View Single Post
  #4  
Old 25th June 2007, 17:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

If you are on Debian/ubuntu, you can rename your iptables script to /etc/network/if-up.d/iptables:
Code:
mv /etc/firewall.bash /etc/network/if-up.d/iptables
and make it executable:
Code:
chmod 755 /etc/network/if-up.d/iptables
The script will then be started automatically whenever you boot the system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote