Add 443/UDP for http3
This commit is contained in:
parent
aba33a6626
commit
823c0a0abe
|
@ -26,6 +26,7 @@ open_ports:
|
|||
- { port: '80', proto: 'tcp', comment: 'HTTP' }
|
||||
- { port: '81', proto: 'tcp', comment: 'Pi-hole (not port-forwarded)' }
|
||||
- { port: '443', proto: 'tcp', comment: 'HTTPS' }
|
||||
- { port: '443', proto: 'udp', comment: 'HTTPS' }
|
||||
- { port: '4001', proto: 'tcp', comment: 'IPFS Kubo P2P' }
|
||||
- { port: '4001', proto: 'udp', comment: 'IPFS Kubo P2P' }
|
||||
- { port: '5001', proto: 'tcp', comment: 'IPFS Kubo RPC API (not port-forwarded)' }
|
||||
|
|
|
@ -2,11 +2,15 @@
|
|||
---
|
||||
- name: Allow necessary ports in UFW
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
to_port: "{{ item.port }}"
|
||||
proto: "{{ item.proto }}"
|
||||
comment: "{{ item.comment }}"
|
||||
insert: "{{ ansible_loop.index }}"
|
||||
rule: allow
|
||||
loop: "{{ open_ports }}"
|
||||
loop_control:
|
||||
extended: true
|
||||
extended_allitems: false
|
||||
|
||||
- name: Enable UFW
|
||||
community.general.ufw:
|
||||
|
|
Reference in a new issue