-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael D Schleif wrote:

| In DCD, I often used these commands for firewall troubleshooting:
|
|     ipchains -nvL
|     ipchains -nvL --line-numbers
|     ipmasqadm portfw -ln
|
| I want to know how to do this in Bering?

You can generally feed the same commands to iptables, ie:

iptables -nvL
iptables -nvL --line-numbers

...or you can use the shorewall command:

iptables show

Note that there is no ipmasqadm or similar command, as everything is now
done with iptables.  By default, the iptables and shorewall commands will
show you the chains in the filter table.  To see chains from a specific
table (usual options are nat, mangle, and filter...you can look at
/proc/net/ip_tables_names for a complete list), do something like:

iptables -t nat -nvL
iptables -t mangle -nvL

shorewall show nat
shorewall show mangle

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCQA7sLywbqEHdNFwRAsm5AKCv3npLNEOaHe+S/NrmSemlIxKRyQCglveH
oKReWFS2QosqymhGi/QeUjw=
=6jM4
-----END PGP SIGNATURE-----


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to