I'm consistently getting this error:
Code:
/etc/cron.hourly/portflush:
iptables: No chain/target/match by that name
I read
http://www.faqs.org/docs/iptables/commonproblems.html and some of the other threads here, but I'm not sure what I'm looking at.
The output of
sudo /sbin/iptables -t filter -L is
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere 81.189.52.37
DROP all -- anywhere 214.109.56.59.broad.fz.fj.dynamic.163data.com.cn
I'm not sure how to sort out whether the solution is to fix a module (er, um, uh, huh?) or to ditch a rule or what. Any ideas? This is kind of feeling greek to me right now.
I tried manually running /etc/cron.hourly/portflush, but got an error:
/etc/cron.hourly/portflush: line 10: iptables: command not found
Line 10 isn't especially illuminating:
$IPTOOL -F $PORTSENTRY_CHAIN
It seems like $IPTOOL isn't defined anywhere. I'm not sure where or how to go about solving that, though.