-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
PIA: Port forwarding obtaining signature payload timeout #2048
Comments
Hi there! I am not sure, I was going to say this VPN server probably doesn't support port forwarding... What server hostname/ip are you using, just to double check? If anyone else has the same issue, please chime in as well, thanks! |
Hey! Thanks for the response.
I have been using Vancouver to make the attempts, however I have cycled a few different servers in various regions (Venezuela, Mexico, Norway). Is there a preferred or recommended order of preference on these variables? like only use |
I have been dealing with the same issue for a while and here is the error I get:
I assume the token is actually being passed and the token isn't literal. here is my relevant options: (running the latest version) - VPN_TYPE=openvpn
- OPENVPN_PROCESS_USER=root
- VPN_SERVICE_PROVIDER=private internet access
- SERVER_REGIONS=CA Vancouver
- VPN_PORT_FORWARDING=on
- VPN_PORT_FORWARDING_PROVIDER=private internet access
- PRIVATE_INTERNET_ACCESS_OPENVPN_ENCRYPTION_PRESET=strong
- FIREWALL=on Hope some of this helps. Thank you for a great application. |
+1 with |
Nice find. One thing I noticed is that gluetun is trying to get the signature from the gateway, which makes sense according to PIA's comments here. Hopefully it's not a red herring. |
@MillsyBot your error was @anorth2 @ZulliB Your issue @ZulliB The curl command they have
Actually connects to PF_GATEWAY (see Anyway, I also changed code so it communicates with the public VPN server IP address instead of the local gateway for PIA, in image |
I pulled the image with the changes and it looks like it is getting "further" than before
From inside the container I attempted to use the host name and the original IP. Seems like the host name properly resolves the endpoint. Am I passing the wrong variables as |
Can you try pulling |
Almost there. I literally posted the log line, so is literally being output. Does the logging agent obfuscate the token? |
Hi, just to jump onto this thread instead of starting a new one. It seems that PIA port forwarding is not supported when using the "custom" service provider to connect to PIA via wireguard. |
@MillsyBot thanks for the feedback! Also sorry for the long delay answering this 😢
Yes it does 🎊 😕 Does it work with curl -X POST -H 'Content-Type application/x-www-form-urlencoded' --data 'password=yourpass&username=youruser' https://www.privateinternetaccess.com/api/client/v2/token Maybe even outside the VPN tunnel. For reference the 'fetchToken' function in Gluetun is at
|
Attempted with the new build and i got the following error
Using the curl method described above the results are similar
Has this moved, now, to an issue with either my subscription or with PIA? |
Not sure what is different for me, but when I try using port forward on openvpn it seems to work just fine.
This is on the latest build, not even using the PR.
My issue is different as I'm trying to get this working using wireguard but maybe it all connected?! |
Interesting input @xtinct101 maybe it is working as intended currently 🤔 @MillsyBot have you tried with another VPN server? Also your Docker network or LAN wouldn't conflict with the VPN gateway I re-checked PIA's scripts and it didn't change so the current code (latest image/master branch) should still be working by connecting to the gateway ip address, using the server name as TLS name to verify against. @xtinct101 I'm re-opening your original issue, since it might well be something different, my bad for thinking it was the same! |
As I stated when using montreal it works fine, when i try toronto or vancouver, using openvpn, it wont connect but it also doesnt error out, it just restarts the container.
|
@MillsyBot The more I read this together with @xtinct101 comments, my conclusions are:
@xtinct101 Oh indeed, sorry I got confused by (the still confusing 😄)
Anyway let's continue the conversation back on your issue 😉 Thanks again |
I don't see a network that would conflict with any 10/8. My home network is all 192.168. networks. |
@MillsyBot When running Gluetun, what do you get from EDIT: also, you are using OpenVPN correct? |
Yes, I am using OpenVPN. |
That might conflict, can you try removing it? That's as I recall the |
Same
|
But switch back to the latest image instead (using the gateway IP address, not the vpn server hostname) |
Everything works. Thanks for the patience! |
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 |
Hi same problem here with Wireguard + PIA. Port forwarding seems to not work. How could I solve it?
|
this thread was useful but I'm still stuck on the same issue the OP is on using
The tunnel comes up but no PF sadly. |
Perhaps try removing the value for EDIT: I don't monitor closed issues, so you will likely not get another response |
Hello!
First off: thanks for making such a cool product!
Now to business: I have been using PIA (sans port forwarding) for sometime and have really enjoyed it. I am attempting now to add the port forwarding feature for a current use case that I have. I believe that I have configured things properly, however it is quite possible that I missed something. Here are the relevant environment variables
And here are the logs that I am getting.
I have verified on a few locations that claim they support port forwarding, however the results are the same. I attempted to reach the 10.31.110.1 port 19999 from inside the gluetun container, and that was also a bust.
Thanks in advance for any help. Sorry if this one is too obvious!
The text was updated successfully, but these errors were encountered: