Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,441
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice