CentOS7关闭25端口
CentOS7默认监听了25端口,最小化安装也会默认安装postfix.service服务(sendmail),所以需要将25端口关掉
systemctl stop postfix.service systemctl disable postfix.service
如果需要关闭323端口
systemctl stop chronyd.service systemctl disable chronyd.service
如果需要关闭123端口
systemctl stop ntpd systemctl disable ntpd
最终效果
本站所有文章均可随意转载,转载时请保留原文链接及作者。