How to list the ports open and closed by my firewall?

ted leslie tleslie-RBVUpeUoHUc at public.gmane.org
Sun Apr 23 18:37:13 UTC 2006


iptables -L
if your using iptables,
if your using the older ipchains ... it might be similar.
if you are using nat, and you want to see that to, then
iptables -L -t nat

it is very valuable to enable iptables debugging, as you can do a 
dmesg  or /var/log/messages
and see any activity that is denied and at what rule it was denied,
but you would have to have your iptables set up to do this.

-tl


On Sun, 23 Apr 2006 13:33:51 -0400
frankpeng-VsqqI1RANlHk1uMJSBkQmQ at public.gmane.org wrote:

> Hi, 
>  
> I made a simple firewall and I did not block some ports but some clients says my firewall blocked some ports. How do I know which ports are open and which are closed by my firewall?
>  
> Thanks.
>  
> Frank Peng. 
> ___________________________________________________
> Try the New Netscape Mail Today!
> Virtually Spam-Free | More Storage | Import Your Contact List
> http://mail.netscape.com
> 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list