The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Iptables get overwritten over time

Discussion in 'General Discussion' started by MattDeox, Jun 6, 2015.

  1. MattDeox

    MattDeox Member

    Joined:
    May 18, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    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?
     
    #1 MattDeox, Jun 6, 2015
    Last edited: Jun 6, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page