Closed entrptaher closed 4 years ago
Private Internet Access recently added static IP addresses to their openvpn zip files. That's what is used now so there is only one ip address per region. IP address should also be pretty much stable, as before I was hardcoding IP addresses from their different subdomains, which were quite dynamic.
On the other hand, I added recently a new feature which is still undocumented (because it only works for pia old, new servers and mullvad for now) such that you can update the servers information yourself, see #217 You would need to bind mount the /gluetun directory which contains the servers information. You can already modify it manually or use docker run -it --rm -v /blabla:/gluetun qmcgaw/private-internet-access update -pia -file
which does all the zip file download+extract+parsing for you automatically.
I'll add more documentation once it's fully ready, but that should answer your question I hope. Thanks!
Thank you for the information and hard work.
How can I change the IP of a specific region if the (only) IP is being blocked?
Easy solution:
Tell me your provider and region and I can look if I can add some IPs.
Harder solution without me:
If you bind mount the /gluetun directory, you can modify the servers.json file and restart the container. To do so, override the IP address you want (or add one) for the server you want and then update the unix timestamp for the corresponding provider, all in servers.json. You can find the current unix timestamp with a google search.
Note however that if a newer Docker image comes with updated IP addresses and a more recent timestamp, it will override what you wrote. You can go around it by specifying a huge number for the timestamp.
Thank you for the detailled information.
The region would be Austria. Currently glueton is always taking the following IP:
{
"ips": [
"156.146.60.14"
],
"region": "Austria"
},
Is there a possibility to specify the IP afterwards within the docker-compose
ENV or better within the glueton container or API?
Multiple things 🎉
OPENVPN_TARGET_IP
to override the IP address of the server. It will still use the port corresponding to the service provider and network protocol though.EDIT: Pull latest
when the build is done (link)
Awesome. Works like a charm. Thank you
TLDR: Connects to same IP all the time
Even if I restart the docker, reconnect, the IP doesn't change at all. So if the IP is bad, I cannot use the VPN at all to browse any website.
Is this urgent?
What VPN service provider are you using?
What's the version of the program?
Running version latest built on 2020-08-30T14:49:36Z (commit 7c102c0)
What are you using to run the container?
Extra information
Logs:
Configuration file:
Host OS: Ubuntu 20.04