$ sudo iptables -vL Chain INPUT (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 1005 94248 ACCEPT all -- lo any anywhere anywhere 952 689K ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED 0 0 ACCEPT icmp -- any any anywhere anywhere limit: avg 30/min burst 5 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ssh Chain FORWARD (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 1892 packets, 183K bytes) pkts bytes target prot opt in out source destination $ netstat -l Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:8000 *:* LISTEN tcp 0 0 *:1186 *:* LISTEN tcp 0 0 plab.pupeno.com:10180 *:* LISTEN tcp 0 0 *:dict *:* LISTEN tcp 0 0 plab.pupeno.com:53831 *:* LISTEN tcp 0 0 *:8010 *:* LISTEN tcp 0 0 plab.pupeno.com:mysql *:* LISTEN tcp 0 0 plab.pupeno.com:57455 *:* LISTEN tcp 0 0 plab.pupeno.com:ipp *:* LISTEN tcp 0 0 plab.pupeno.:postgresql *:* LISTEN tcp 0 0 plab.pupeno.com:smtp *:* LISTEN tcp 0 0 plab.pupeno.com:45979 *:* LISTEN tcp 0 0 plab.pupeno.com:9180 *:* LISTEN tcp6 0 0 *:www *:* LISTEN udp 0 0 *:bootpc *:* udp 0 0 *:bootpc *:* udp 0 0 *:8010 *:*