Closed jbil2040 closed 1 year ago
I worked this out. The issue is that I was providing credentials to OpenVPN using the following line in the configuration file:
auth-user-pass credentials.txt
My assumption is that the container is authenticating the request sent to https://www.privateinternetaccess.com/gtoken/generateToken
using environment variables VPN_USER
and VPN_PASS
.
Because I was not providing those variables (instead providing them in the OVPN configuration), I'm assuming the generate token request is sent unauthenticated and hence fails.
Specifying VPN_USER
and VPN_PASS
variables in my compose file resolved the issue.
I'm using PIA with protocol OpenVPN. I'm trying to spin up the VPN with portforwarding, but it always fails due to the following error:
I've seen this particular error in multiple issues on this repo, but none of the suggested fixes that I've found have worked.
Here's my docker compose (some info has been obfuscated):
Current OVPN config (credentials removed):
Things I've tried:
NAME_SERVERS
to the default suggested by binhex.Neither of these have worked.
I'm unable to try wireguard protocol due to wireguard bug on QNAP systems.