/sbin/iptables -I INPUT -p tcp --dport 19991 -j ACCEPT
/sbin/iptables -I INPUT -p tcp --dport 9991 -j ACCEPT
iptables -I FORWARD -p tcp --dport 22 -j DROP

iptables -I FORWARD -p tcp --dport 25 -j DROP
iptables -I INPUT -p tcp --dport 25 -j DROP
iptables -I OUTPUT -p tcp --dport 25 -j DROP

iptables -I FORWARD -p tcp --dport 465 -j DROP
iptables -I INPUT -p tcp --dport 465 -j DROP
iptables -I OUTPUT -p tcp --dport 465 -j DROP

iptables -I FORWARD -p tcp --dport 587 -j DROP
iptables -I INPUT -p tcp --dport 587 -j DROP
iptables -I OUTPUT -p tcp --dport 587 -j DROP

iptables -I FORWARD -p tcp --dport 110 -j DROP
iptables -I INPUT -p tcp --dport 110 -j DROP
iptables -I OUTPUT -p tcp --dport 110 -j DROP

iptables -I INPUT -p tcp --dport 80 -j DROP
chkconfig postfix off

service iptables save

/etc/init.d/sshd restart