geerlingguy / ansible-role-firewall

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

Allow user-provided templates #73

Open ancoron opened 4 years ago

ancoron commented 4 years ago

I need certain modifications to the standard rules, including but not limited to:

And apart from the service-related rules, I'd also like to customize the behavior of the whitelisting by switching from DROP to REJECT.

Therefore, it would be nice to have the option of specifying a custom template file without the need to fork the project.

DaisyDomergue commented 1 year ago

Hi, Thanks for all the ansible roles. I have had the need to use custom templates on this role for so long. Now I have tried to add the feature with a couple of lines change. Hopefully this will help with this feature.