You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running version latest built on 2024-06-17T22:37:52.988Z (commit 93ed87d)
What's the problem 🤔
When trying to test if the port forwarded on the remote VPN server is open, using either the port checker or a site like this, most of the time the port is closed. Occasionally (maybe 10% of the time), I'll test it and the port will say it's open.
I've tested this with both PIA and ProtonVPN to ensure that it's not a provider specific issue. Neither provider would cause any logs to show up that would indicate the forwarded port is closed.
Share your logs (at least 10 lines)
2024-06-20T22:37:23Z INFO [openvpn] UDPv4 link local: (not bound)
2024-06-20T22:37:23Z INFO [openvpn] UDPv4 link remote: [AF_INET][EXTERNAL_VPN_IP]:1194
2024-06-20T22:37:23Z INFO [openvpn] [node-us-134.protonvpn.net] Peer Connection Initiated with [AF_INET][EXTERNAL_VPN_IP]:1194
2024-06-20T22:37:24Z INFO [openvpn] setsockopt TCP_NODELAY=1 failed
2024-06-20T22:37:24Z INFO [openvpn] TUN/TAP device tun0 opened
2024-06-20T22:37:24Z INFO [openvpn] /sbin/ip link set dev tun0 up mtu 1500
2024-06-20T22:37:24Z INFO [openvpn] /sbin/ip link set dev tun0 up
2024-06-20T22:37:24Z INFO [openvpn] /sbin/ip addr add dev tun0 10.21.0.3/16
2024-06-20T22:37:24Z INFO [openvpn] UID set to nonrootuser
2024-06-20T22:37:24Z INFO [openvpn] Initialization Sequence Completed
2024-06-20T22:37:24Z INFO [dns] downloading DNS over TLS cryptographic files
2024-06-20T22:37:29Z INFO [healthcheck] healthy!
2024-06-20T22:37:29Z INFO [dns] downloading hostnames and IP block lists
2024-06-20T22:37:36Z DEBUG [healthcheck] unhealthy: dialing: dial tcp4: lookup cloudflare.com: i/o timeout
2024-06-20T22:37:36Z INFO [dns] init module 0: validator
2024-06-20T22:37:36Z INFO [dns] init module 1: iterator
2024-06-20T22:37:36Z INFO [dns] start of service (unbound 1.20.0).
2024-06-20T22:37:36Z INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-06-20T22:37:36Z INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-06-20T22:37:37Z INFO [healthcheck] healthy!
2024-06-20T22:37:37Z INFO [dns] ready
2024-06-20T22:37:37Z INFO [ip getter] Public IP address is [EXTERNAL_VPN_IP] (United States, New York, New York City)
2024-06-20T22:37:37Z INFO [vpn] You are running on the bleeding edge of latest!
2024-06-20T22:37:37Z INFO [port forwarding] starting
2024-06-20T22:37:37Z INFO [port forwarding] gateway external IPv4 address is [EXTERNAL_VPN_IP]
2024-06-20T22:37:37Z INFO [port forwarding] port forwarded is 37718
2024-06-20T22:37:37Z INFO [firewall] setting allowed input port 37718 through interface tun0...
2024-06-20T22:37:37Z DEBUG [firewall] iptables-legacy --append INPUT -i tun0 -p tcp --dport 37718 -j ACCEPT
2024-06-20T22:37:37Z DEBUG [firewall] ip6tables --append INPUT -i tun0 -p tcp --dport 37718 -j ACCEPT
2024-06-20T22:37:37Z DEBUG [firewall] iptables-legacy --append INPUT -i tun0 -p udp --dport 37718 -j ACCEPT
2024-06-20T22:37:37Z DEBUG [firewall] ip6tables --append INPUT -i tun0 -p udp --dport 37718 -j ACCEPT
2024-06-20T22:37:37Z INFO [port forwarding] writing port file /tmp/gluetun/forwarded_port
2024-06-20T22:38:22Z DEBUG [port forwarding] refreshing port forward since 45 seconds have elapsed
2024-06-20T22:38:22Z DEBUG [port forwarding] port forwarded 37718 maintained
2024-06-20T22:39:07Z DEBUG [port forwarding] refreshing port forward since 45 seconds have elapsed
2024-06-20T22:39:07Z DEBUG [port forwarding] port forwarded 37718 maintained
2024-06-20T22:39:52Z DEBUG [port forwarding] refreshing port forward since 45 seconds have elapsed
2024-06-20T22:39:52Z DEBUG [port forwarding] port forwarded 37718 maintained
Share your configuration
#Gluetun - vpn containergluetun: #Setup for this container will be different depending on your VPN of choiceimage: qmcgaw/gluetun:latestcontainer_name: gluetun# line above must be uncommented to allow external containers to connect.# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetuncap_add:
- NET_ADMINdevices:
- /dev/net/tun:/dev/net/tunports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
- 8112:8112#Deluge Web UI
- 6881:6881
- 6881:6881/udp
- 8000:8000/tcp # Control servervolumes:
- ${BASE_PATH}/gluetun:/gluetunenvironment:
- VPN_SERVICE_PROVIDER=protonvpn
- VPN_TYPE=openvpn
- OPENVPN_USER=${PROTON_USER}+pmp
- OPENVPN_PASSWORD=${PROTON_PASSWORD}
- SERVER_CITIES=New York City
- SHADOWSOCKS=on
- SHADOWSOCKS_PASSWORD=${SHADOWSOCKS_PASSWORD}
- VPN_PORT_FORWARDING=on
- LOG_LEVEL=debug#Deluge - torrenting softwaredeluge:
image: ghcr.io/linuxserver/deluge:latestnetwork_mode: "service:gluetun"container_name: delugelabels:
- deunhealth.restart.on.unhealthy=trueenvironment:
- PUID=${USER_ID}
- PGID=${USER_ID}
- TZ=${TZ}healthcheck: # https://github.com/qdm12/gluetun/issues/641#issuecomment-933856220test: "curl -sf https://1.1.1.1/ || exit 1"interval: 1mtimeout: 10sretries: 1volumes:
- ${BASE_PATH}/deluge/config:/config
- ${SHARE}/torrents:/torrentsrestart: unless-stopped
The text was updated successfully, but these errors were encountered:
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.
Is this urgent?
No
Host OS
Debian Bookworms
CPU arch
x86_64
VPN service provider
ProtonVPN
What are you using to run the container
docker-compose
What is the version of Gluetun
Running version latest built on 2024-06-17T22:37:52.988Z (commit 93ed87d)
What's the problem 🤔
When trying to test if the port forwarded on the remote VPN server is open, using either the port checker or a site like this, most of the time the port is closed. Occasionally (maybe 10% of the time), I'll test it and the port will say it's open.
I've tested this with both PIA and ProtonVPN to ensure that it's not a provider specific issue. Neither provider would cause any logs to show up that would indicate the forwarded port is closed.
Share your logs (at least 10 lines)
Share your configuration
The text was updated successfully, but these errors were encountered: