Results 1 to 4 of 4
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
03-26-2010 #1
- Join Date
- Oct 2008
- Posts
- 23
Filtering chain and policy for iptables -L
iptables -L
I would like for example view FORWARD ACCEPT rules instead of waiting for all of the drop rules to load when viewing a firewalled iptables.
-
03-27-2010 #2
Man iptables is your friend
-
03-31-2010 #3
- Join Date
- Mar 2010
- Posts
- 5
So - depending on what you want to see, you can specify by the table you want.
iptables -t nat -L
will show you prerouting postrouting and something else,
iptables -t filter -L will show you those under the filter tables
I am a newbie but I think this might answer your question. I learned these from my friend the man page
-
04-01-2010 #4
- Join Date
- Aug 2009
- Posts
- 8
hope u get what u want
type command like : iptables -t TABLE-NAME -L CHAIN-NAME
In this TABLE-NAME = nat, filter etc....
CHAIN-NAME = name of the chain for that particular TABLE-NAME.
example: iptables -t nat -L OUTPUT
which only show the output chain for the nat table.
enjoy.