[PLUG] iptables logging
Josh Orchard
josh at emediatedesigns.com
Tue Feb 18 17:50:03 UTC 2003
thank you. I didn't get that from the man pages. That is, that I should
put an additional entry for each thing I want to log. I got that it was
an argument to iptables. Not the case.
> On Tue, 18 Feb 2003 00:34:38 -0800 (PST), Josh Orchard wrote
>> Could someone tell me how I can get all messages from an iptables script
>> to log all request? I'm trying to see where the machine thinks it is
>> sending a port forward request. It appears to be wrong and I can't find
>> it. I also can't find where iptables puts an logs. I'm guessing it
>> is off by default but can't seem to get the LOG option to go on any
>> new rule.
>>
>
> Do "man iptables" and look for the LOG target. In a nutshell, for each
> rule
> you want to log you create an identical rule except the target is LOG.
> Put
> that rule right before the one you want to watch. When a packet matches
> it
> first gets logged and then goes back to where it was and checks the next
> rule.
>
>
> --
> Terry Layne
> Portland, OR
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
More information about the PLUG
mailing list