iptables do not start - Applying firewall rules: iptables-restore: line * failed
iptables is started after reboot of VPS. Then i stop it and do:
[QUOTE]Applying firewall rules: iptables-restore: line 44 failed
[QUOTE]... -A cP-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 2096 -j ACCEPT -A cP-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT -A cP-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 2083 -j ACCEPT -A cP-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT COMMIT
Any idea on how to fix please?
# service iptables start[QUOTE]Applying firewall rules: iptables-restore: line 44 failed
head -n 44 /etc/sysconfig/iptables[QUOTE]... -A cP-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 2096 -j ACCEPT -A cP-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT -A cP-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 2083 -j ACCEPT -A cP-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT COMMIT
Any idea on how to fix please?
-
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. 0 -
actually it was VPS issue which got fixed when IPtables modules was applied to a vps according to this tutorial. 0
Please sign in to leave a comment.
Comments
2 comments