Really don't know where this should go, but here:
http://www.eqemulator.net/wiki/wikka...Linux#firewall
the firewall rules would be:
block TCP to port 9000:
iptables -A INPUT -p TCP --dport 9000 -s localhost -j ACCEPT
iptables -A INPUT -p TCP --dport 9000 -j DROP
block mysql access (tcp port 3306):
iptables -A INPUT -p TCP --dport 3306 -s localhost -j ACCEPT
iptables -A INPUT -p TCP --dport 3306 -j DROP