-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: control server shows port forwarded as 0
#2391
Comments
@qdm12 is more or less the only maintainer of this project and works on it in his free time.
|
Can you share your full logs? The /v1/openvpn/portforwarded is actually independent of the VPN protocol, really, relevant code: gluetun/internal/server/openvpn.go Line 126 in 10384c9
So my guess is port forwarding either didn't launch or there is a port forwarding bug somewhere 🤔
|
Aha, thanks for the info. Yes I have no need for the openvpn endpoint I just thought it may have been relevant but now I see it is not! I've censored my public VPN IP. Probably not necessary to censor but also probably not necessary for debug? I have confirmed the proton server I am connecting to does support port forwarding according to them. Slightly unrelated, do you have an alternative crypto donate wallet? I've been meaning to support the project but I'd rather not use card and I have no Kusama Below are my logs:
|
I did just try change VPN_ENDPOINT_IP to WIREGUARD_ENDPOINT_IP as suggested in the logs, and same for the port variable, but same result unfortunately. |
0
😄 you need to turn port forwarding on! |
Closed issues are NOT monitored, so commenting here is likely to be not seen. This is an automated comment setup because @qdm12 is the sole maintainer of this project |
Is this urgent?
No
Host OS
Debian 12 (virtualised in Proxmox)
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-08-01T11:55:38.342Z (commit 34e8f5f)
What's the problem 🤔
I am trying to find my forwarded port using the endpoint
/v1/openvpn/portforwarded
as stated on the Wiki, however I always get a response of{"port":0}
. Similarly when using the endpoint/v1/openvpn/status
I always get a response of{"status":"stopped"}
.However, the endpoint
/v1/publicip/ip
does work and return the IP and other data as expected. The connection works other than this, so I think there is an issue with the openvpn endpoint for wireguard connections?I am using ProtonVPN via Wireguard using the custom provider as outlined on the Wiki.
Share your logs (at least 10 lines)
Share your configuration
The text was updated successfully, but these errors were encountered: