
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] iptables: problem with REJECT
- Date: Thu, 13 Feb 2003 22:20:16 +0900
- From: Jean-Christian Imbeault <jc@example.com>
- Subject: [tlug] iptables: problem with REJECT
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
I'm trying to add an iptable rule with a REJECT target but it keeps
getting refused. If I change the target to DROP though it's accepted.
Can someone spot my error? Is REJECT no longer a valid target? (the man
page indicate it is still a valid target ...)
# iptables -F
# iptables -L
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
# iptables -A INPUT -d 127.0.0.0/8 -j REJECT
iptables: No chain/target/match by that name
# iptables -A INPUT -d 127.0.0.0/8 -j DROP
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere 127.0.0.0/8
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thanks!
Jc
Home |
Main Index |
Thread Index