Bunu bilmiyorum işte diğer taraflarını yaptım tarif edebilirmisiniz lütfen
p2p portlarını kapatma amaçlı bir örnek ipfw.rules kural listesini yazıyım.
cmd="ipfw -q add"
ipfw -q -f flush
#################################################
$cmd 1 allow all from serverip to any 14000
$cmd 2 allow all from serverip to any 14000
$cmd 3 deny all from any to me 14000
$cmd 4 allow all from serverip to any 17000
$cmd 5 allow all from serverip to any 17000
$cmd 6 deny all from any to me 17000
$cmd 7 allow all from serverip to any 20000
$cmd 8 allow all from serverip to any 20000
$cmd 9 deny all from any to me 20000
$cmd 10 allow all from serverip to any 22000
$cmd 11 allow all from serverip to any 22000
$cmd 12 deny all from any to me 22000
$cmd 13 allow all from serverip to any 12000
$cmd 14 allow all from serverip to any 12000
$cmd 15 deny all from any to me 12000
$cmd 16 allow all from serverip to any 14001
$cmd 17 allow all from serverip to any 14001
$cmd 18 deny all from any to me 14001
#####
$cmd 10000 allow all from any to any via lo0
$cmd 20000 deny all from any to 127.0.0.0/8
$cmd 30000 deny all from 127.0.0.0/8 to any
$cmd 40000 allow all from any to any
not: serverip kısmını editleyin eğer filesiniz degisik ise 14000,17000 olan p2p portları farklı ise configlere girip p2p_port kısmından bakabilirsiniz.