[EMAIL PROTECTED] wrote:

Hey all. Is there an iptables equiv. to the 'ipchains -L' command? I can cat
the /etc/sysconfig/iptables file, but I'm looking for something more along the
lines of a -L command (and I didn't see anything like this when I typed
'iptables -h'.

Greg
_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
http://www.trilug.org/~lovelace/faq/TriLUG-faq.html

Unless I'm missing the point of your question...

"iptables -L" or "iptables -L -v" should do it.
You will need to do "iptables -t nat -L" to see the nat table.

"iptables-save > your_saved_file" will let you browse the output in reusable format.

hth,
--Henry


_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
http://www.trilug.org/~lovelace/faq/TriLUG-faq.html


Reply via email to