Linux runs service iptables save and reports an error

执行service iptables save 出现”Failed to restart iptables.service: Unit iptables.service failed to load: No such file or directory.”

 

Save with the following command:

 

iptables-save > /etc/sysconfig/iptables

 

iptables-save is to append rules to a file

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326392538&siteId=291194637