gluetun icon indicating copy to clipboard operation
gluetun copied to clipboard

Feature request: update PrivateVPN servers using website instead of zip file

Open Silversurfer79 opened this issue 1 year ago • 4 comments

EDIT by qdm12:

  • Currently updater uses the Privatevpn openvpn Zip file which has 79 servers (10 not resolving to anything)
  • It would be nicer to fetch and parse their website at https://privatevpn.com/why-privatevpn/server-locations to extract the 82 servers
  • Some servers in the zip file are not present in the website tables

Silversurfer79 avatar Aug 09 '24 00:08 Silversurfer79

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

  • do not ask for updates, be patient
  • :+1: the issue to show your support instead of commenting @qdm12 usually checks issues at least once a week, if this is a new urgent bug, revert to an older tagged container image

github-actions[bot] avatar Aug 09 '24 00:08 github-actions[bot]

PrivateVPN is already supported, although it's using the openvpn zip file. I changed your issue to change the servers updating mechanism to use the website (82 servers) instead of the zip file (79 servers). This is obviously low priority since the zip file approach still works fine.

qdm12 avatar Aug 09 '24 06:08 qdm12

PrivateVPN is already supported, although it's using the openvpn zip file. I changed your issue to change the servers updating mechanism to use the website (82 servers) instead of the zip file (79 servers). This is obviously low priority since the zip file approach still works fine.

First off, I appreciate your time here. I know it’s your personal time. So, a big thanks!

Yes, it does work, but it doesn’t support port forwarding. Is there no way to allow this in a generic form? Issue: It checks the VPN Provider and if it isn’t one of the two support providers it fails to load the container.

pls see: https://github.com/qdm12/gluetun/discussions/2393

PrivateVPN support port forwarding, see here: https://privatevpn.com/blog/guides/195/the-best-vpn-configuration-for-torrenting-fast-(and-safely)

In the zip file above, there are 5 locations that support it, happy specify the location in the yaml if this makes it easier for the dev prospective:

See below loactions supporting PF los-angeles-usa-allportfwd.ovpn
los-angeles-usa.ovpn
new-york-usa-allportfwd.ovpn
stockholm-sweden-allportfwd.ovpn
stockholm-sweden.ovpn

Silversurfer79 avatar Aug 09 '24 11:08 Silversurfer79

Yes, it does work, but it doesn’t support port forwarding. Is there no way to allow this in a generic form?

Ha! Lucky you (and me), I need someone to confirm this works: #2285 ! Please report on existing issue #1859

In the zip file above, there are 5 locations that support it

Where did you get that list of 5 servers supporting port forwarding? I need this ideally to automate it instead of hardcoding server hostnames compatible with port forwarding. In the meantime, you can set the correct hostname supporting port forwarding for example -e SERVER_HOSTNAMES=se-sto.pvdata.host to test the image on #2285

Marking this and the last few comments about port forwarding as off topic, and let's continue on #1859 about this.

qdm12 avatar Aug 09 '24 14:08 qdm12