1.
yum -y remove sendmail; && yum -y remove httpd; && yum -y remove cyrus-sasl;
2.
iptables -F && iptables -t nat -F && /sbin/iptables -A OUTPUT -p tcp --dport 25 -j DROP && /sbin/iptables -A INPUT -p tcp --dport 25 -j DROP
Block Torrent:
1.
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -d 127.0.0.1 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 21 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 53 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 10000 -j ACCEPT
iptables -A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
iptables -A OUTPUT -p udp -m udp -j DROP
iptables -A OUTPUT -p tcp -m tcp -j DROP
Ket: Copy Command Di Atas 1 Per 1
2.
service iptables save && service iptables restart
Sekian Tutorial Dari Saya Block Spam & Block Torrent