Disable all the mail protocol by iptables
Disable all the mail protocol by iptables:
iptables -A INPUT -p tcp -m multiport --dport 25,110,465:587,993:995 -j DROP iptables -A INPUT -p udp -m multiport --dport 25,110,465:587,993:995 -j DROP iptables -A OUTPUT -p tcp -m multiport --dport 25,110,465:587,993:995 -j DROP iptables -A OUTPUT -p udp -m multiport --dport 25,110,465:587,993:995 -j DROP
save the iptables:
iptables-save service iptables save
阅读剩余
版权声明:
作者:John
链接:https://vps.la/2018/10/12/disable-all-the-mail-protocol-by-iptables/
文章版权归作者所有,未经允许请勿转载。
THE END