Skip to content

Instantly share code, notes, and snippets.

@soardex
Created November 24, 2016 15:22
Show Gist options
  • Save soardex/eed53a56b4a7bb7bdc9a59546ae8cc49 to your computer and use it in GitHub Desktop.
Save soardex/eed53a56b4a7bb7bdc9a59546ae8cc49 to your computer and use it in GitHub Desktop.
It is possible to go back to a more classic iptables setup. First, stop and mask the firewalld service:
systemctl stop firewalld
systemctl mask firewalld
Then, install the iptables-services package:
yum install iptables-services
Enable the service at boot-time:
systemctl enable iptables
Managing the service
systemctl [stop|start|restart] iptables
Saving your firewall rules can be done as follows:
service iptables save
or
/usr/libexec/iptables/iptables.init save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment