iptables感悟Centos

我偏偏想在另一台服务器上装CentOS。。。。。

前几天说了那个网络配置不同,今天又发现了iptables的处理其实也不同。。。在Ubuntu下我需要将iptables写到启动脚本才能开机生效。但是CentOS不同。CentOS有service iptables save就保存了。。。。。。。

再者,CentOS默认的iptables比较严格。。。。。我就搞着搞着才发现怎么都连不上ssh。。。。。后来才发现是iptables搞鬼。。。。把全部drop扔到后面就好了。。。。。。其他的等我有空再来这里补充吧。

原文地址:https://www.cnblogs.com/sztsian/p/2204099.html