[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: turning on verbose logging for iptables?



On Wed, 17 Jul 2002 07:14:49 -0600 Dave Price <davep@kinaole.org> wrote:

> I have an iptables firewall running fine, and have a need to switch on
> verbose logging.  I hope to see which ports are being used when I
> initiate an outbound connection to a vpn from a windows client behind
> the firewall.

Short answer:

Try my firewall script at http://asgardsrealm.net/linux/firewall in debug
mode.  It's not completely debianized, but it's fairly easy to set up and
I'm working on it.

Long answer:

You need to add log targets as the first rule to each of the tables and
chains.  These are (by default):

  Filter
    INPUT
    FORWARD
    OUTPUT
  Nat
    INPUT
    OUTPUT
    PREROUTING
    POSTROUTING
    OUTPUT
  Mangle
    PREROUTING
    OUTPUT

HTH

-- 
Jamin W. Collins


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: