Adding firewall port forward tasks
This commit is contained in:
parent
8c7af4bde8
commit
646e24d465
@ -7,3 +7,17 @@
|
||||
- podman-host
|
||||
- repo-epel
|
||||
- certbot
|
||||
tasks:
|
||||
- name: Root port forwards for web traffic.
|
||||
firewalld:
|
||||
rich_rule: rule family=ipv4 forward-port port=443 protocol=tcp to-port=4443
|
||||
zone: public
|
||||
permanent: true
|
||||
immediate: true
|
||||
state: enabled
|
||||
firewalld:
|
||||
rich_rule: rule family=ipv4 forward-port port=80 protocol=tcp to-port=8080
|
||||
zone: public
|
||||
permanent: true
|
||||
immediate: true
|
||||
state: enabled
|
||||
|
Loading…
Reference in New Issue
Block a user