netstat -na |grep LIST
tcp4 0 0 *.443 *.* LISTEN
tcp6 0 0 *.443 *.* LISTEN
tcp4 0 0 *.80 *.* LISTEN
tcp6 0 0 *.80 *.* LISTEN
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp6 0 0 *.10000 *.* LISTEN
tcp4 0 0 *.10000 *.* LISTEN
tcp4 0 0 *.8080 *.* LISTEN
tcp4 0 0 127.0.0.1.3306 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
tcp4 0 0 127.0.0.1.514 *.* LISTEN
tcp4 0 0 127.0.0.1.53 *.* LISTEN
tcp4 0 0 1.1.1.1.53 *.* LISTEN
tcp4 0 0 *.5006 *.* LISTEN
tcp4 0 0 127.0.0.1.5005 *.* LISTEN
ipfw show
00050 713516 195876666 allow tcp from any to me 22
00051 626612 121811725 allow tcp from me 22 to any
00110 1722746 145049738 allow ip from any to any via lo0
00120 170291 47606207 skipto 1000 ip from me to any
00130 0 0 deny icmp from any to any in icmptypes 5,9,13,14,15,16,17
00160 537304 45735232 skipto 2000 ip from any to me
00200 0 0 skipto 500 ip from any to any { via em0 or via em1 }
00300 6705 701894 skipto 4500 ip from any to any in
00400 0 0 skipto 450 ip from any to any { recv em0 or recv em1 }
00420 2899 558851 divert 1 ip from any to any
00450 2899 558851 divert 2 ip from any to any
00490 2899 558851 allow ip from any to any
00500 0 0 skipto 32500 ip from any to any in
00510 0 0 divert 1 ip from any to any
00540 0 0 allow ip from any to any
01000 1100 126736 allow udp from any 53,7723 to any
01010 6348 5413641 allow tcp from any to any setup keep-state :default
01020 96623 10661786 allow udp from any to any keep-state :default
01100 118169 43234970 allow ip from any to any
02000 0 0 check-state :default
02010 20516 1431289 allow icmp from any to any
02020 99375 14582905 allow tcp from any to any 22,80,443,5006,10000
02030 0 0 allow tcp from table(101) to any 3306
02050 353602 17410826 deny ip from any to any { via em0 or via em1 }
02060 11805 460248 allow udp from any to any 53,7723
02100 57 19038 deny ip from any to any
04500 0 0 allow ip from any to table(100)
05000 0 0 skipto 18502 ip from table(24) to table(14)
05001 0 0 allow ip from table(44) to table(14)
05002 0 0 skipto 18503 ip from table(21) to table(11)
05003 0 0 allow ip from table(41) to table(11)
18500 3613 434742 fwd 127.0.0.1,8080 tcp from any to any 80
18501 3092 267152 deny ip from any to any
18502 0 0 pipe tablearg ip from table(24) to any
18503 0 0 pipe tablearg ip from table(21) to any
32000 0 0 deny ip from any to any
32490 0 0 deny ip from any to any
32500 0 0 allow ip from table(100) to any
33000 0 0 skipto 46501 ip from table(14) to table(34)
33001 0 0 allow ip from table(14) to table(44)
33002 0 0 skipto 46502 ip from table(11) to table(31)
33003 0 0 allow ip from table(11) to table(41)
46500 0 0 deny ip from any to any
46501 0 0 pipe tablearg ip from any to table(34)
46502 0 0 pipe tablearg ip from any to table(31)
60000 0 0 deny ip from any to any
65535 0 0 deny ip from any to any