Re: iptables failure at the last line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Alexander Farber wrote:
> Hello,
>
> can anybody please spot an error here?
>
> # sudo service iptables start
> Flushing firewall rules:                                   [  OK  ]
> Setting chains to policy ACCEPT: filter                    [  OK  ]
> Unloading iptables modules:                                [  OK  ]
> Applying iptables firewall rules: iptables-restore: line 20 failed
>                                                             [FAILED]
>
> And my /etc/sysconfig/iptables is (I'm trying to enable
> Samba, Apache, FMS dev. ed. and throttled SSH at 22 and 443):
>
<snip>
> Any hints on how to debug those issues?

the same way you debug stuff when you can't see the problem by just 
staring at it: reduce it to a minimal error-case. So, remove some of 
those /etc/sysconfig/iptables lines until it no longer fails, and 
identify the exact line that causes the failure. Then stare at that one 
line and understand why it's failing.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux