Logging iptables

Gene Heskett gene.heskett at verizon.net
Wed Dec 7 23:57:17 UTC 2005


On Wednesday 07 December 2005 13:34, Gregory P. Ennis wrote:
>List,
>
>I am working on some iptables nat forwarding logic and need to be able
>to log failures into my /var/log/message file in a RH 8.0 system.  I am
>using a FC4 system for a gateway firewall and iptables seems to log
>error packets there automatically.  Is there a way to do this on RH 8.0
>as well.
>
>Sorry to ask a RH question on this list, but I thought there would be
>someone here that would know.
>
I don't believe the iptables syntax has changed materially since rh7.3's 
version, so you should be able to do that just fine.  Here, I'm even 
using it to redirect bittorrent to a different address, this box.  And 
you can add the LOG directive to almost any of the rules.
>Thanks,
>
>Greg Ennis

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.36% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.




More information about the fedora-list mailing list