Open port udp 21820 for gerbil
This commit is contained in:
parent
a90119ffe1
commit
75def3e389
|
|
@ -30,6 +30,7 @@ services:
|
|||
- SYS_MODULE
|
||||
ports:
|
||||
- 51820:51820/udp
|
||||
- 21820:21820/udp
|
||||
- 443:443 # Port for traefik because of the network_mode
|
||||
- 80:80 # Port for traefik because of the network_mode
|
||||
|
||||
|
|
|
|||
|
|
@ -11,11 +11,12 @@
|
|||
- { protocol: tcp, port: '80', description: 'HTTP for Lets Encrypt ACME challenge' }
|
||||
- { protocol: tcp, port: '443', description: 'HTTPS for secure web traffic' }
|
||||
- { protocol: udp, port: '51820', description: 'WireGuard VPN traffic' }
|
||||
- { protocol: udp, port: '21820', description: 'WireGuard VPN traffic clients' }
|
||||
become: true
|
||||
become_exe: "{{ become_exe_value }}"
|
||||
register: iptables_result
|
||||
|
||||
- name: Display iptables configuration status
|
||||
ansible.builtin.debug:
|
||||
msg: "Configured firewall rules for ports: 80 (HTTP), 443 (HTTPS), 51820 (WireGuard UDP)"
|
||||
msg: "Configured firewall rules for ports: 80 (HTTP), 443 (HTTPS), 51820 (WireGuard UDP), 21820 (VPN UDP clients)"
|
||||
when: iptables_result is changed
|
||||
Loading…
Reference in New Issue