OpenVZ Forum


Home » General » Support » Firewall on boot
Firewall on boot [message #3011] Sat, 06 May 2006 20:59 Go to previous message
ferp2 is currently offline  ferp2
Messages: 29
Registered: May 2006
Junior Member
Hello,

I've set up a vps running debian 3.1 minimal. I have a firewall I want brought up on boot. Debian no longer has an init script for booting iptables; instead you have to add "pre-up /etc/rc.firewall" in /etc/network/interfaces to get the firewall running at boot time. The problem is /etc/network/interfaces is created dynamically, so it's recommended to edit /etc/network/interfaces.template. So what I did is copy interfaces to interfaces.template, added "pre-up /etc/rc.firewall" and rebooted the vps. It doesn't work. Does someone know how to add the pre-up command to interfaces.template so that the system reboots with the firewall turned on.

Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Config a custom Kernel from the given src.rpm
Next Topic: VPS Problem -- Users logged in
Goto Forum:
  


Current Time: Sun May 26 11:41:59 GMT 2024

Total time taken to generate the page: 0.00400 seconds