kowabunga.cloud.firewall role – Install, configure, and start iptables-based firewall.
Note
This role is part of the kowabunga.cloud collection (version 0.0.1).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install kowabunga.cloud
.
To use it in a playbook, specify: kowabunga.cloud.firewall
.
Entry point main
– Install, configure, and start iptables-based firewall.
Synopsis
Install, configure, and start iptables-based firewall.
Parameters
Parameter |
Comments |
---|---|
Turn on iptables on public (i.e. Internet-facing) network interface. Useless if no public network interface is to be found. Setup a deny-all filtering policy, with blocked ICMP requests and explicitly opened UDP/TCP ports. Private network interface remains unfiltered. Choices:
|
|
List of TCP ports to be explictly opened on network firewall. Default: |
|
List of UDP ports to be explictly opened on network firewall. Default: |