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

Bug: server does not support port forwarding #2389

Closed
Korunos47 opened this issue Aug 1, 2024 · 5 comments
Closed

Bug: server does not support port forwarding #2389

Korunos47 opened this issue Aug 1, 2024 · 5 comments

Comments

@Korunos47
Copy link

Is this urgent?

Yes

Host OS

Unraid

CPU arch

x86_64

VPN service provider

ProtonVPN

What are you using to run the container

Unraid

What is the version of Gluetun

Running version latest built on 2024-07-31T21:07:07.349Z (commit ceb6ff4)

What's the problem 🤔

Since the latest commit, we're getting the error that the server does not support port forwarding.
I tried the PR-2383 tag which worked perfectly fine.

Share your logs (at least 10 lines)

2024-08-01T08:13:02Z INFO [routing] default route found: interface eth0, gateway 172.21.0.1, assigned IP 172.21.0.2 and family v4
2024-08-01T08:13:02Z INFO [routing] adding route for 0.0.0.0/0
2024-08-01T08:13:02Z INFO [firewall] setting allowed subnets...
2024-08-01T08:13:02Z INFO [routing] default route found: interface eth0, gateway 172.21.0.1, assigned IP 172.21.0.2 and family v4
2024-08-01T08:13:02Z INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
2024-08-01T08:13:02Z INFO [dns] using plaintext DNS at address 1.1.1.1
2024-08-01T08:13:02Z INFO [http server] http server listening on [::]:8000
2024-08-01T08:13:02Z INFO [firewall] allowing VPN connection...
2024-08-01T08:13:02Z INFO [healthcheck] listening on 127.0.0.1:9999
2024-08-01T08:13:02Z INFO [wireguard] Using available kernelspace implementation
2024-08-01T08:13:02Z INFO [wireguard] Connecting to 212.92.104.241:51820
2024-08-01T08:13:02Z 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-01T08:13:02Z INFO [healthcheck] healthy!
2024-08-01T08:13:02Z INFO [dns] downloading DNS over TLS cryptographic files
2024-08-01T08:13:03Z INFO [dns] downloading hostnames and IP block lists
2024-08-01T08:13:07Z INFO [http server] 200 GET /portforwarded wrote 11B to 127.0.0.1:48758 in 105.718µs
2024-08-01T08:13:08Z INFO [dns] init module 0: validator
2024-08-01T08:13:08Z INFO [dns] init module 1: iterator
2024-08-01T08:13:08Z INFO [dns] start of service (unbound 1.20.0).
2024-08-01T08:13:08Z INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2024-08-01T08:13:08Z INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2024-08-01T08:13:09Z INFO [dns] ready
2024-08-01T08:13:09Z INFO [ip getter] Public IP address is 212.92.104.246 (Netherlands, North Brabant, Roosendaal)
2024-08-01T08:13:09Z INFO [vpn] You are running on the bleeding edge of latest!
2024-08-01T08:13:09Z INFO [port forwarding] starting
2024-08-01T08:13:09Z ERROR [vpn] port forwarding for the first time: server does not support port forwarding

Share your configuration

gluetun:
    image: qmcgaw/gluetun:latest
    container_name: gluetun
    restart: always
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_TYPE=wireguard
      - VPN_SERVICE_PROVIDER=custom
      - VPN_ENDPOINT_IP=212.92.104.241
      - VPN_ENDPOINT_PORT=51820
      - WIREGUARD_PUBLIC_KEY=XXX
      - WIREGUARD_PRIVATE_KEY=XXX
      - WIREGUARD_ADDRESSES=10.2.0.2/32
      - VPN_PORT_FORWARDING=on
      - VPN_PORT_FORWARDING_PROVIDER=protonvpn
    ports:
      - 8090:8090
      - 6881:6881
      - 6881:6881/udp
Copy link
Contributor

github-actions bot commented Aug 1, 2024

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

@qdm12 qdm12 closed this as completed in 34e8f5f Aug 1, 2024
Copy link
Contributor

github-actions bot commented Aug 1, 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.

@qdm12
Copy link
Owner

qdm12 commented Aug 1, 2024

34e8f5f might resolve it I think. I'm re-opening this just to wait for your feedback to make sure it's solved.

@Korunos47
Copy link
Author

It's fixed with the latest commit. Thank you very much

Copy link
Contributor

github-actions bot commented Aug 1, 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

2 participants