qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
7.69k stars 359 forks source link

Help: ProtonVPN Port Forwarding. #2441

Closed VinneyUK closed 1 month ago

VinneyUK commented 1 month ago

Is this urgent?

Yes

Host OS

Unraid

CPU arch

None

VPN service provider

ProtonVPN

What are you using to run the container

Portainer

What is the version of Gluetun

Running version latest built on 2024-08-25T07:04:32.409Z (commit 01fa993)

What's the problem šŸ¤”

Hi folks,

When i add in in the following variable: VPN_PORT_FORWARDING_STATUS_FILE=/tmp/gluetun/forwarded_port

it doesnt create the file?

How do i find the status of the port forwarding so that i can transpose this over to qBitorrent?

Share your logs (at least 10 lines)

|   ā””ā”€ā”€ VPN wait durations:
|       ā”œā”€ā”€ Initial duration: 6s
|       ā””ā”€ā”€ Additional duration: 5s
ā”œā”€ā”€ Shadowsocks server settings:
|   ā””ā”€ā”€ Enabled: no
ā”œā”€ā”€ HTTP proxy settings:
|   ā””ā”€ā”€ Enabled: no
ā”œā”€ā”€ Control server settings:
|   ā”œā”€ā”€ Listening address: :8000
|   ā””ā”€ā”€ Logging: yes
ā”œā”€ā”€ Storage settings:
|   ā””ā”€ā”€ Filepath: /gluetun/servers.json
ā”œā”€ā”€ OS Alpine settings:
|   ā”œā”€ā”€ Process UID: 1000
|   ā””ā”€ā”€ Process GID: 1000
ā”œā”€ā”€ Public IP settings:
|   ā”œā”€ā”€ Fetching: every 12h0m0s
|   ā”œā”€ā”€ IP file path: /tmp/gluetun/ip
|   ā””ā”€ā”€ Public IP data API: ipinfo
ā””ā”€ā”€ Version settings:
    ā””ā”€ā”€ Enabled: yes
2024-08-26T14:10:47Z INFO [routing] default route found: interface eth0, gateway 172.28.0.1, assigned IP 172.28.0.2 and family v4
2024-08-26T14:10:47Z INFO [routing] adding route for 0.0.0.0/0
2024-08-26T14:10:47Z INFO [firewall] setting allowed subnets...
2024-08-26T14:10:47Z INFO [routing] default route found: interface eth0, gateway 172.28.0.1, assigned IP 172.28.0.2 and family v4
2024-08-26T14:10:47Z INFO [routing] adding route for 172.28.0.0/16
2024-08-26T14:10:47Z INFO [routing] adding route for 192.168.50.0/24
2024-08-26T14:10:47Z INFO [dns] using plaintext DNS at address 1.1.1.1
2024-08-26T14:10:47Z INFO [http server] http server listening on [::]:8000
2024-08-26T14:10:47Z INFO [firewall] allowing VPN connection...
2024-08-26T14:10:47Z INFO [healthcheck] listening on 127.0.0.1:9999
2024-08-26T14:10:47Z INFO [wireguard] Using available kernelspace implementation
2024-08-26T14:10:47Z INFO [wireguard] Connecting to 146.70.xx.xx:51820
2024-08-26T14:10:47Z INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.
2024-08-26T14:10:47Z INFO [healthcheck] healthy!
2024-08-26T14:10:47Z INFO [dns] downloading hostnames and IP block lists
2024-08-26T14:10:48Z INFO [dns] DNS server listening on [::]:53
2024-08-26T14:10:48Z INFO [dns] ready
2024-08-26T14:10:49Z INFO [ip getter] Public IP address is 146.70.xx.xx (United Kingdom, England, London)
2024-08-26T14:10:49Z INFO [vpn] You are running 1 commit behind the most recent latest

Share your configuration

environment:
      - VPN_SERVICE_PROVIDER=custom
      - VPN_TYPE=wireguard
      - WIREGUARD_ENDPOINT_IP=146.70.xx.xx
      - WIREGUARD_ENDPOINT_PORT=51820
      - WIREGUARD_PUBLIC_KEY=xxx
      - WIREGUARD_PRIVATE_KEY=xxx
      - WIREGUARD_ADDRESSES=10.2.0.2/32
      - VPN_PORT_FORWARDING_PROVIDER=protonvpn
      - VPN_PORTFORWARDING=ON
      - FIREWALL_OUTBOUND_SUBNETS=172.28.0.0/16,192.168.50.0/24
    restart: unless-stopped
github-actions[bot] commented 1 month ago

@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:

qdm12 commented 1 month ago

VPN_PORTFORWARDING is wrong, it's VPN_PORT_FORWARDING

github-actions[bot] commented 1 month ago

Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.

This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.