一旦服务器重启了,之前配置好的iptables就会没了,这是我们需要一个iptables规则持久化的工具来帮我们管理iptables。上网搜索一番,感觉iptables-persistent这个工具就很好用,在ubuntu17.10下配置几乎为零,安装完了就好了。下面是安装的命令:
1 | sudo apt-get install iptables-persistent |
安装好后,当前的iptebles配置信息会自动保存在
1 2 | /etc/iptables/rules .v4 /etc/iptables/rules .v6 |
两个文件中,现在重启服务器iptables的配置信息也会继续保持啦!
When it comes to motivating people to start adapting new processes in the workplace, show, don't tell. Once you show how easy those tools can be, the more willingly the team will start using them.
ReplyDeleteAs a product manager, explore and research as much as you can. The requirements have to be crystal clear. Requirements engineering is not boring, it can be fun. Even if you planned everything carefully, something can go wrong. And it's okay. https://cxdojo.com/product-drama-podcast-1-launching-an-internal-product