This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
firewalld [2018/08/08 13:23] k2patel created |
firewalld [2018/09/28 16:52] k2patel [Replace firewalld with iptables] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Firewalld ====== | ====== Firewalld ====== | ||
- | Another package to manage another package... welcome to new world ... :D | + | Another package to manage another package... welcome to new world ... :D\\ |
Anyway but server need to keep rolling !! | Anyway but server need to keep rolling !! | ||
+ | |||
+ | ==== Replace firewalld with iptables ==== | ||
+ | This is tested with the RHEL7 | ||
+ | <code bash> | ||
+ | yum install -y iptables-services | ||
+ | iptables-save > /etc/sysconfig/iptables # preserve existing rule | ||
+ | systemctl stop firewalld | ||
+ | systemctl mask firewalld | ||
+ | systemctl enable iptables | ||
+ | systemctl enable ip6tables | ||
+ | systemctl start iptables | ||
+ | systemctl start ip6tables | ||
+ | </code> | ||
==== Adding rich rule ==== | ==== Adding rich rule ==== |