и в чем сложность ? узнать что 53 порт открыть можно у гугла только за деньги???
Да окрыт он вроде как:
#!/bin/sh -
f='/sbin/ipfw'
ifOut='em0'
${f} -f flush
${f} table 37 flush
${f} add 21 allow udp from any to me 161
${f} add 22 allow udp from me 161 to any
${f} add 23 allow udp from any to me 4000
${f} add 24 allow udp from me to any 4000
${f} add 91 allow tcp from any to me 22
${f} add 92 allow tcp from me 22 to any
${f} add 110 allow ip from any to any via lo0
${f} add 120 skipto 1000 ip from me to any
${f} add 130 deny icmp from any to any in icmptype 5,9,13,14,15,16,17
${f} add 160 skipto 2000 ip from any to me
${f} add 250 skipto 277 ip from { "table(0)" or "table(37)" } to not me
${f} add 260 skipto 300 ip from any to not me
${f} add 277 deny tcp from not "table(0)" to 90.183.101.0/24
${f} add 300 skipto 4500 ip from any to any in
${f} add 400 skipto 450 ip from any to any recv ${ifOut}
${f} add 420 allow ip from any to any
${f} add 450 divert 2 ip from any to any
${f} add 490 allow ip from any to any
${f} add 500 skipto 32500 ip from any to any in
${f} add 510 divert 1 ip from any to any
${f} add 540 allow ip from any to any
${f} add 1000 allow udp from any 53,7723 to any
${f} add 1010 allow tcp from any to any setup keep-state
${f} add 1020 allow udp from any to any keep-state
${f} add 1100 allow ip from any to any
${f} add 2000 check-state
${f} add 2010 allow icmp from any to any
${f} add 2020 allow tcp from any to any 80,443,3306
${f} add 2050 deny ip from any to any via ${ifOut}
${f} add 2060 allow udp from any to any 53,7723
${f} add 2100 deny ip from any to any
${f} add 32490 deny ip from any to any
Но не работает, потому и спрашываю.