|
#1
|
|||
|
|||
|
Hi everyone,
I don't know if I am in the good section and could you please move my topic in the good one. I am working on a HG dedicated server with centos. I had to remove a iptables rule in order to let my zabbix agent works but at every reboot, all of my basic iptables rules are regenerate again and I loose my custom iptables rules. In fact, I have modified /etc/sysconfig/iptables in order to have my custom iptables rules on every reboot. It works fine when I restart iptables : /etc/init.d/iptables restart. It loads my custom rules properly (/etc/sysconfig/iptables) but it does not work when I reboot. I think /etc/sysconfig/iptables is regenerate cause by some other services ? Actually, let see my /etc/sysconfig/iptables header before reboot : Quote:
Quote:
Quote:
What do you think about ? Best regards. |
|
#2
|
||||
|
||||
|
Is it the default HG dedicated server setup? We have a script that is installed (/usr/sbin/firewall) that makes some iptables administration easier. If you add your rule to /etc/firewall/INCLUDE, it should work on reboot.
__________________
David I. Level III Linux Systems Administrator Hostgator.com LLC |
|
#3
|
|||
|
|||
|
Quote:
But I would like to remove three rules and not add one. The problem is /etc/firewall contains only some iptables rules but not all of them. In /etc/firewall/INCLUDE : Quote:
BR. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lead Generation Sytem (for Network Marketers) | curtvise | Site Promotion | 0 | 11-25-2009 10:19 PM |
| problem with iptables | quietFinn | Linux VPS Support | 43 | 09-23-2009 04:14 PM |
| VBCnetwork.com (The next generation in VTV) | aaronblrt1 | Site Promotion | 1 | 07-12-2007 08:47 PM |
All times are GMT -5. The time now is 09:20 AM.










