Iptables, when to load rules in Centos 5.2 ? [message #32720] |
Mon, 25 August 2008 17:21 |
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
|
|
|