-
Notifications
You must be signed in to change notification settings - Fork 111
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
Support for Proton VPN port forwarding? #367
Comments
subscribing |
Has anyone had any luck here? |
From the container it seems that the nat is not working
|
Ok for my issue it was just a missing suffix in the username.
|
The proton doc mention tu usage of the "natpmpc" client. But it's not working. The python client is ok
The port is reserved only for 60 seconds. We must execute the command every 5à seonds to keep the port. Need to glue now to port discovering/reservation with the deluge config and add the python lib to the Dockerfile. |
Support for port forwarding for protonvpn has been included for a while, see Q31:-https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md |
The support of port forward is only for static port, right? |
Nope it's full support for dynamic incoming port |
Ok. Then maybe some glue are missing on deluge side to update the port on the fly. |
Please do the following:- https://github.com/binhex/documentation/blob/master/docker/faq/help.md#other-users EDIT - Also please refresh the configuration from protonvpn, i have seen a lot of times that protonvpn changes their server configuration resulting in the inability to get a incoming port or connect to the server at all. |
Heyy, I just don't get one thing: is this supported for wireguard? If yes, does that mean we have to set the username anyways to any random string plus the +pmp suffix to have port forwarding working? Because wireguard dosen't need username and password right? Maybe a check should be added for when using protonvpn with wireguard, or adding a provider like protonvpn+pmp that enables port forwarding to avoid this kind of trick. |
Not an expert, but I have been using this image succesfully for a couple of weeks with wireguard and port forwarding. Hope this helps:
Yes. see Q31:-https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md
No, i doesn't mean that. You use your wireguard username not a random string, just append +pmp to the username. See below
Wrong. Wireguard needs to authenticate that it is you using your account and not someone else. Follow the link above, Q31 and A31 include all the steps you need to setup Protonvpn with wireguard and port forwarding, including obtaining your username that you will append +pmp to.
I am just an end user so just my opinion but there are no tricks here, you just need to configure the container to user wireguard with your account and enable port forwarding, the software shouldn't need to do any special checks to account for any of this. Just follow the documentation, it works (unless you hit the issue that OP reported of course, but fresh pull of the image fixed all the issue I had during the setup). |
I don't get it in this case. Because it works with empty password and a random+pmp string as username with protonvpn. From my understanding wireguard is not necessarily secured by a password (https://serverfault.com/questions/948816/wireguard-user-authentication). That is more a server side additional implementation. And from what I could understand probably some remains from when PIA only supported port forwarding. Also see:
TLDR: Empty username and password should still allow for wireguard port forwarding. |
Also A31 does nowere explain anything about getting a username. It just mentions you need to set it. |
Did anyone figure this out? I have tried both WireGuard and OpenVPN. WireGuard doesn't work at all and I get an error. |
When you create your credentials, make sure to select that you want
the server to support port forwarding.
|
I did do that, I tried with qBittorent instead and had no issues, will stay with that instead! |
With mullvad disabling port forwarding a lot of people will be looking for new options. Have you considered adding support for port forwarding while using wireguard with Proton VPN?
A few links on the methods needed:
https://protonvpn.com/support/port-forwarding-manual-setup/
https://www.reddit.com/r/ProtonVPN/comments/10owypt/successful_port_forward_on_debian_wdietpi_using/
The text was updated successfully, but these errors were encountered: