geerlingguy / ansible-role-firewall

Ansible Role - iptables Firewall configuration.
https://galaxy.ansible.com/geerlingguy/firewall/
MIT License
524 stars 217 forks source link

stopping service on systemd doesnt flush ip6tables #69

Closed trickert76 closed 4 years ago

trickert76 commented 4 years ago

When you use systemctl stop firewall to flush the chains, only IPv4 rules are flushed. This is because in firewall.unit.j2 in line 8 only /sbin/iptables -F is called.

I would prefer to either add the old init script and use it here or pass start/stop to the firewall.bash.j2

stale[bot] commented 4 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 4 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

trickert76 commented 4 years ago

Hmm, the bug is still present. I gave a good advice, how to solve it, nothing happens, but the issue should not be closed until it is solved. Great job!