Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

iptables -L

Reply
 
Thread Tools Display Modes
  #1  
Old 12-23-2004, 08:27 AM
Default iptables -L



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.


S.F. Wu
Reply With Quote
  #2  
Old 12-23-2004, 09:31 AM
Davide Bianchi
Guest
 
Posts: n/a
Default Re: iptables -L

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
  #3  
Old 12-23-2004, 09:41 AM
ToYKillAS
Guest
 
Posts: n/a
Default Re: iptables -L

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
  #4  
Old 12-23-2004, 09:42 AM
ToYKillAS
Guest
 
Posts: n/a
Default Re: iptables -L

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
  #5  
Old 12-26-2004, 05:50 PM
Robert
Guest
 
Posts: n/a
Default Re: iptables -L

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

Tags
iptables

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
Forum Jump


All times are GMT. The time now is 01:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.