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:
    624
    Likes Received:
    6
    Trophy Points:
    18
    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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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:
    624
    Likes Received:
    6
    Trophy Points:
    18
    actually it was VPS issue which got fixed when IPtables modules was applied to a vps according to this tutorial.
     
Loading...

Share This Page