You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
318 B

save iptables in CentOS7:
disable firewalld daemon:
# systemctl disable firewalld
Then install iptables-service by following command:
# yum install iptables-services
Then enable iptables as services:
# systemctl enable iptables
Now you can save your iptable rules by following command:
# service iptables save