Enable admin access and VPN port forwarding in Gluetun

This commit is contained in:
Roger Gonzalez 2024-12-30 10:04:12 -03:00
parent 16fbe42bf0
commit 98a7c54769
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -157,6 +157,7 @@ services:
- 8888:8888/tcp # HTTP proxy - 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks - 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks - 8388:8388/udp # Shadowsocks
- 8003:8000/tcp # Admin
#- 8080:8080/tcp # gluetun #- 8080:8080/tcp # gluetun
#- 8081:8081/tcp # gluetun #- 8081:8081/tcp # gluetun
environment: environment:
@ -166,6 +167,7 @@ services:
- OPENVPN_PASSWORD=${VPN_PASSWORD} - OPENVPN_PASSWORD=${VPN_PASSWORD}
- OPENVPN_CIPHERS=AES-256-GCM - OPENVPN_CIPHERS=AES-256-GCM
- PORT_FORWARD_ONLY=on - PORT_FORWARD_ONLY=on
- VPN_PORT_FORWARDING=on
restart: unless-stopped restart: unless-stopped
# Portainer helps debugging and monitors the containers # Portainer helps debugging and monitors the containers