This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
firewalld [2018/09/28 16:52] k2patel [Adding rich rule] |
firewalld [2018/09/28 16:52] k2patel [Replace firewalld with iptables] |
||
---|---|---|---|
Line 9: | Line 9: | ||
<code bash> | <code bash> | ||
yum install -y iptables-services | yum install -y iptables-services | ||
- | iptables-save > /etc/sysconfig/iptables . # preserve existing rule | + | iptables-save > /etc/sysconfig/iptables # preserve existing rule |
systemctl stop firewalld | systemctl stop firewalld | ||
systemctl mask firewalld | systemctl mask firewalld |