Try this: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-iptables-saving.html

On 31 October 2011 18:52, Odhiambo Washington <odhiambo@gmail.com> wrote:
CentOS release 5.7. It's a VPS and I have access to a web UI called parallels.

I edit /etc/sysconfig/iptables manually and I save the changes, restart iptables and the changes work! When I reboot, all changes are lost!!



On Mon, Oct 31, 2011 at 18:15, Simon Mbuthia <simon.mbuthia@gmail.com> wrote:
What distro?

On 31 October 2011 18:02, Odhiambo Washington <odhiambo@gmail.com> wrote:
Not being that good with Linux, I need some help with some component that is disturbing my peace:

When I modify iptables manually and reboot, some monster in the system comes and replaces my manually added rules.

How do I kill the monster, or rather tell it to accept my rules??

Linux test.linux.svr 2.6.18-028stab070.14 #1 SMP Thu Nov 18 16:04:02 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke