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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iptables do not start - Applying firewall rules: iptables-restore: line * failed

Discussion in 'Security' started by postcd, Apr 27, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    670
    Likes Received:
    11
    Trophy Points:
    68
    iptables is started after reboot of VPS. Then i stop it and do:

    Code:
    # service iptables start

    Code:
    head -n 44 /etc/sysconfig/iptables
    Any idea on how to fix please?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The message you provided indicates an issue with your custom firewall rules. Have you considered using a third-party firewall management utility such as CSF to allow for easier management of your rules?

    Thank you.
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    670
    Likes Received:
    11
    Trophy Points:
    68
    actually it was VPS issue which got fixed when IPtables modules was applied to a vps according to this tutorial.
     
Loading...

Share This Page