[LUGOS] iptables problem

Aleš Sušnik alesh at domenca.com
Mon Jul 14 16:58:59 CEST 2003


man iptables:

-L, --list [chain]
              List  all  rules in the selected chain.  If no chain is
selected, all chains are listed.  As every other
              iptables command, it applies to the specified table (filter is
the default), so NAT rules get listed by
               iptables -t nat -n -L
              Please note that it is often used with the -n option, in order
to avoid long reverse DNS lookups.  It is
              legal  to specify the -Z (zero) option as well, in which case
the chain(s) will be atomically listed and
              zeroed.  The exact output is affected by the other arguments
given.


torej: iptables -t nat -n -L 

ti bo pokazalo kar isces...

A.

-----Original Message-----
From: Matevz [mailto:matevz at matevz.net] 
Sent: Monday, July 14, 2003 4:43 PM
To: lugos-list at lugos.si
Subject: [LUGOS] iptables problem


Iptables mi nekako delajo v redu, razen kar hocem vpisati v PREROUTING.
Ko napisem iptables -A PREROUTING ....... se to potem nekako "izgubi".
Ne napise mi nobene napake, ko pa dam iptables -L pa tega tudi ne pise
no3.
Ce hocem kaj dodati npr. v INPUT ali kam drugam pa deluje normalno.

Kakasna bi bila resitev? Hocem pa forwadati port na lokalno masino.


Lep pozdrav,
Matevz






More information about the lugos-list mailing list