Open port udp 21820 for gerbil

This commit is contained in:
Fabio Sinibaldi 2026-08-05 12:58:07 +02:00
parent a90119ffe1
commit 75def3e389
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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