Skip to content
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

Feature request: Support portforwarded endpoint on the HTTP control server for Wireguard connections #2026

Closed
FlorentLM opened this issue Jan 1, 2024 · 3 comments

Comments

@FlorentLM
Copy link

FlorentLM commented Jan 1, 2024

What's the feature 🧐

Title says almost all, according to the wiki there is a /v1/publicip/ip and a /v1/openvpn/portforwarded endpoints on the control server which are usable when connected through OpenVPN, but the port one is not available when connected through Wireguard.

The /v1/openvpn/portforwarded endpoint actually works with Wireguard, I'm an idiot.

Extra information and references

I currently use the /tmp/gluetun/forwarded_port file bind-mounted in my other containers, but it's not as clean as using a http GET request, imo.

@cohenchris
Copy link

I'm also looking for this. I can see that my port is forwarded correctly through wireguard, but when I query /v1/openvpn/portforwarded, it responds with {"port":0}

Am I missing something here?

@qdm12
Copy link
Owner

qdm12 commented Aug 8, 2024

@FlorentLM

I'm an idiot.

You're 100% not, that route /v1/openvpn/portforwarded is quite misleading. Just keeping it for historical reasons, and not adding more routes for now (eyeing doing a v4 release to remove a bunch of retro-compatibility before adding more things to the server).

@cohenchris subscribe to #2391 this is likely a bug somewhere, I'll check it out soon.

Closing this 😉

@qdm12 qdm12 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants