Networking Forums

Networking Forums > Computer Networking > Linux Networking > iptables -L

Reply
 
 
S.F. Wu
Guest
Posts: n/a

 
      12-23-2004, 07:27 AM
Hi,

When I issue the command

iptables -L

It shows only the INPUT, OUTPUT and FORWARD chains. PREROUTING and
POSTROUTING are not shown. Why is that?

Thanks in advance.
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      12-23-2004, 08:31 AM
On 2004-12-23, S.F. Wu <(E-Mail Removed)> wrote:
> It shows only the INPUT, OUTPUT and FORWARD chains. PREROUTING and
> POSTROUTING are not shown. Why is that?


Because you don't have the MASK module loaded?
Davide

--
Linux, DOS, Windows NT -- The Good, the Bad, and the Ugly
 
Reply With Quote
 
ToYKillAS
Guest
Posts: n/a

 
      12-23-2004, 08:41 AM
S.F. Wu wrote:
> Hi,
>
> When I issue the command
>
> iptables -L
>
> It shows only the INPUT, OUTPUT and FORWARD chains. PREROUTING and
> POSTROUTING are not shown. Why is that?
>
> Thanks in advance.


# iptables -t nat -L

--
Even though I walk through the valley of the shadow of death,
I will fear no evil, for you are with me;
your rod and your staff, they comfort me.
 
Reply With Quote
 
ToYKillAS
Guest
Posts: n/a

 
      12-23-2004, 08:42 AM
S.F. Wu wrote:
> Hi,
>
> When I issue the command
>
> iptables -L
>
> It shows only the INPUT, OUTPUT and FORWARD chains. PREROUTING and
> POSTROUTING are not shown. Why is that?
>
> Thanks in advance.


# man iptables
http://www.google.be/search?hl=fr&q=...es+howto&meta=

--
Even though I walk through the valley of the shadow of death,
I will fear no evil, for you are with me;
your rod and your staff, they comfort me.
 
Reply With Quote
 
Robert
Guest
Posts: n/a

 
      12-26-2004, 04:50 PM
On Thu, 23 Dec 2004 00:27:54 -0800, S.F. Wu wrote:

> When I issue the command
>
> iptables -L
>
> It shows only the INPUT, OUTPUT and FORWARD chains. PREROUTING and
> POSTROUTING are not shown. Why is that?


I never did like the output from that command so I use this instead:

iptables -L -v -n | less -SCi

This doesn't word wrap the output and you can scroll through the output
with the arrow keys including left and right to see the complete line.


--

Regards
Robert

Smile... it increases your face value!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
about iptables junaidaslam Linux Networking 3 08-29-2005 09:35 PM
Looking for iptables applications code (iptables.c) to run some rules to forward packets tvnaidu@yahoo.com Linux Networking 2 01-17-2005 05:01 PM
iptables Bernd Roth Linux Networking 5 01-16-2005 05:53 PM
iptables and nat Marcin Giedz Linux Networking 5 07-06-2004 07:05 AM
iptables "can't initialize iptables table `filter'" pete Linux Networking 1 10-10-2003 03:44 AM



1 2 3 4 5 6 7 8 9 10 11