Answer the question
In order to leave comments, you need to log in
How not to litter iptables with extra entries after applying iptables-save?
1. Disabled firewalld
2. Applied iptables --flush
3. Checked iptables, - clean
4. Created a rule
5. Checked the entries, - only the necessary ones are present
6. Applied iptables-save > /etc/sysconfig/iptables
7. A bunch of extra entries appeared that you don't want to see.
CHADNT?
Answer the question
In order to leave comments, you need to log in
in centos 7, firewalld works by default - a shell for iptables
systemctl stop firewalld
yum remove -y firewalld
after this, the rules in iptables will look familiar to you)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question