Iptables get overwritten over time

MattDeox

Member
May 18, 2014
9
0
1
cPanel Access Level
Root Administrator
Hello,

I want my cpanel server to be able to connect to my proxy on outgoing port 3127
therefore I executed
Code:
iptables -A OUTPUT -p tcp --dport 3127 -j ACCEPT
service iptables save
and this seemed to work but roughly every 24 hours that outgoing port gets blocked again.
Restarting the iptables will work but what could cause this? I need the connection to be reliable.

What could cause this? Are there some cpanel internals that change iptables?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

cPanel should not adjust your firewall rules, but I suggest installing a firewall management utility such as CSF to ensure your rules are properly saved.

Thank you.