Skip to main content

iptables problem

Comments

3 comments

  • cPanelMichael
    Hello :) The error message you provided indicates an issue with entry used on line 10 of your firewall rules. Please keep in mind that cPanel does not implement a firewall or these type of iptables firewall rules. Have you considered switching to a third-party application to manage your rules (e.g. CSF)? The rules are more tested with an application such as CSF, so you are less likely to experience compatibility problems. Thank you.
    0
  • Drake
    Hi, Even though cPanel mightn't actually "implement" iptables rules as the cPanel staff member suggests, there is no reason why you cannot implement your own iptables rules (either manually or by scripts) . Hmm, cPanel does in fact make some iptables rules by virtue of its use of the Bandmin application, but that's a story for another day. Speaking in general about iptables and one kind of error in starting-- as I'm not seeing your whole script example you posted on this antiquated PC I'm using at the moment---> Relative to your "Line 10" issue, (aside from any obvious syntax errors or rules not capable by your system) are you certain that you aren't duplicating an action and iptables is choking on it when you try to restart iptables? I'd investigate what you have at line to and just prior to it. Visually look it over with that in mind and you can always exclude # remark out a suspect line to see if your error goes away. Best--- Drake P.
    0
  • ka992
    Sorry I forgot to post line #10 which if I comment the iptables starts normally.. #:INPUT ACCEPT [51:14610] Thanks
    0

Please sign in to leave a comment.