Results 1 to 1 of 1
I've read the man pages, and looked at examples from other posts here, but I get an error when I try to do the same thing. The man page says ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-10-2005 #1
- Join Date
- Mar 2005
- Mountain View, CA
Can't Enable iptables Logging
The man page says that LOG can be the target of a rule, but I get an error that no chain/target match by that name. I've also tried taking an existing rule and changing just the target from ACCEPT to LOG, but get the same error.
I'm including running iptables on a rule first with the ACCEPT target to show there's nothing else wrong, then with the LOG target, which fails:
[root]# iptables -I RH-Lokkit-0-50-INPUT 1 -p tcp --source-port 61000:61255 -j ACCEPT
[root]# iptables -I RH-Lokkit-0-50-INPUT 1 -p tcp --source-port 61000:61255 -j LOG
iptables: No chain/target/match by that name
Thanks for any help/suggestions,