OpenVZ Forum


Home » General » Support » Iptables, when to load rules in Centos 5.2 ?
Iptables, when to load rules in Centos 5.2 ? [message #32720] Mon, 25 August 2008 17:21 Go to previous message
geejay is currently offline  geejay
Messages: 11
Registered: May 2008
Junior Member
Hello,

I am trying to run iptables on the HN and also the VEs.

I note that iptables rules are not automatically loaded on reboot in Centos 5.2.

The way I found to load iptables rules automatically was to add
/etc/init.d/iptables start

to the
/etc/rc.d/rc.local
script inside the VEs and also the HN.

Is that the proper way to do it ?


On my other Debian installation I added the startup script to
/etc/network/if-pre-up.d/iptables

I am used to administer iptables through webmin, but the Webmin setting "activate on boot" is ignored when running openvz on Debian and Centos.

Frankly, how Openvz handles iptables is a mystery to me, even after reading the docs backwards and forward.

Why does iptables need to be started "manually" under Openvz ?

Gerry
 
Read Message
Read Message
Previous Topic: booting kernel with raid and lvm
Next Topic: Networking problem????
Goto Forum:
  


Current Time: Fri Oct 18 14:47:47 GMT 2024

Total time taken to generate the page: 0.04972 seconds