101

iptables备份及firewalld操作介绍-运维之路-51CTO博客

 6 years ago
source link: http://blog.51cto.com/ccj168/2065641
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1.iptables规则备份和恢复保存iptables规则使用命令:#serviceiptablessave会把规则保存到/etc/sysconfig/iptables文件中备份iptables规则有时候我们如果不想保存在默认文件里的话,可以另取一个新的文件保存,示例如下:#iptables-save>/tmp/ipt.txt保存#cat/tmp/ipt.txt#Generatedbyiptabl

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK