When applying firewall rules for first time (based on allow only ssh and identd plus some that I added) in webmin:
Failed to apply configuration :
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: mangle filter [ OK ]
Applying iptables firewall rules: iptables-restore: line 47 failed
[FAILED]
Code:
Action Condition Move Add
Accept If input interface is venet0
Accept If protocol is TCP and TCP flags ACK (of ACK) are set
Accept If state of connection is ESTABLISHED
Accept If state of connection is RELATED
Accept If protocol is UDP and destination port is 1024:65535 and source port is 53
Accept If protocol is ICMP and ICMP type is echo-reply
Accept If protocol is ICMP and ICMP type is destination-unreachable
Accept If protocol is ICMP and ICMP type is source-quench
Accept If protocol is ICMP and ICMP type is time-exceeded
Accept If protocol is ICMP and ICMP type is parameter-problem
Accept If protocol is TCP and destination port is ssh
Accept If protocol is TCP and destination port is auth
Accept If protocol is TCP and destination port is 80
Accept If protocol is TCP and destination port is 10000
Accept If protocol is TCP and destination port is 3782
Accept If protocol is UDP and destination port is 3782
port 80 onwards are what I added.
where do I find line 47 to debug it?