ee /etc/ipfw.rules

en altta in :

$IPF 190 deny all from any to any 3306 in
$IPF 195 deny all from any to any 3306 out
$IPF 103 allow all from sunucuip to any 3306 out
$IPF 104 allow all from sunucuip to any 3306 in
$IPF 103 allow all from siteip to any 3306 out
$IPF 104 allow all from siteip to any 3306 in
$IPF 103 allow all from kendipcminipsimesela to any 3306 out
$IPF 104 allow all from kendipcminipsimesela to any 3306 in

ekle ardından

/etc/rc.d/ipfw restart

ipniz statik değilse degisiyorsa iprules den degistirip ipfw restart atin rebootsuz girebileceksiniz

bu işlemle mysqlye erişimi belirlediğiniz ipler yapabilecektir.

not : yedeksiz işlem yapmayınız