[TriLUG] ipchains vs iptables?
Henryk M. Kowalski
kowalski at easternrad.com
Fri Jan 3 10:37:09 EST 2003
gregbrown at mindspring.com 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
More information about the TriLUG
mailing list