don't modify the firewall

This commit is contained in:
f 2022-06-19 02:52:54 -03:00
parent e3a5854361
commit 244de034d8
3 changed files with 30 additions and 0 deletions

View file

@ -56,6 +56,8 @@
dest: "{{ item }}" dest: "{{ item }}"
mode: "640" mode: "640"
loop: loop:
- /etc/conf.d/iptables
- /etc/conf.d/ip6tables
- /etc/iptables/rules6-save - /etc/iptables/rules6-save
- /etc/iptables/rules-save - /etc/iptables/rules-save
- /etc/ipset.d/blocklist4 - /etc/ipset.d/blocklist4

View file

@ -0,0 +1,14 @@
# /etc/conf.d/ip6tables
# Location in which ip6tables initscript will save set rules on
# service shutdown
IP6TABLES_SAVE="/etc/iptables/rules6-save"
# Options to pass to ip6tables-save and ip6tables-restore
SAVE_RESTORE_OPTIONS="-c"
# Save state on stopping iptables
SAVE_ON_STOP="no"
# Enable/disable IPv6 forwarding with the rules
IPFORWARD="no"

View file

@ -0,0 +1,14 @@
# /etc/conf.d/iptables
# Location in which iptables initscript will save set rules on
# service shutdown
IPTABLES_SAVE="/etc/iptables/rules-save"
# Options to pass to iptables-save and iptables-restore
SAVE_RESTORE_OPTIONS="-c"
# Save state on stopping iptables
SAVE_ON_STOP="no"
# Enable/disable IPv4 forwarding with the rules
IPFORWARD="no"