-
Notifications
You must be signed in to change notification settings - Fork 43
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
FastestVPN Wireguard Instructions #76
Comments
+1 for this They do now support WireGuard but they just don't make it super convenient to get your keys to do so. Currently you have to reach out to support through their app and request your keys. Just tell them you need the WireGuard config for your router. The servers listed on this page https://support.fastestvpn.com/vpn-servers/ under "IKEv2", "TCP", "UDP" are the ones enabled for WireGuard per their support team. |
FastestVPN Servers for Gluetun.txt |
Just a quick question on this:
.. so guess I need to wait until provider.go is updated to include fastestvpn as valid WireGuard provider or is there another way? |
Just to answer my own question: |
Cool. Nice work. Now if it could just get implemented in to the main branch... Yeah that XML file is exactly where I got my list from. Also to answer your question that you answered yourself lol, yeah other stuff needs to be changed. I wasn't able to just put these servers in and make it work. Nice to see you were able to just fork this and make those changes though. |
All you have to do now is get those changes from the link and build the docker image yourself, and things are working fine. ;) |
Do you all have the same server public key |
I have, but guess you knew that already. :) |
Ok great. What I am currently working on is get the servers data from the fastestvpn website. I sort-of reversed engineered where their table data is coming from: curl -X POST https://support.fastestvpn.com/wp-admin/admin-ajax.php --data "action=vpn_servers&protocol=tcp"
curl -X POST https://support.fastestvpn.com/wp-admin/admin-ajax.php --data "action=vpn_servers&protocol=udp"
curl -X POST https://support.fastestvpn.com/wp-admin/admin-ajax.php --data "action=vpn_servers&protocol=ikev2" So I'll use that and then deduplicate servers (for both openvpn and Wireguard) etc. to match Gluetun server model. That will be quite a better than the existing update mechanism using the openvpn configuration files zip file from https://support.fastestvpn.com/download/fastestvpn_ovpn since I doubt this file changes much at all... Stay tuned! |
That should work nicely .... tnx |
First step done: update the servers data using the API (openvpn TCP+UDP only for now): qdm12/gluetun@ab08a5e Now I'm adding Wireguard. |
Just an FYI:
|
Nice 👍 I would suggest emailing fastestvpn so they add these servers on their website. It's also for their own good. |
I wouldn't worry about making it perfect. Just wanted to check if your approach would be close ... and I think it should be fine this way. |
qdm12/gluetun#2383 has code to support (hopefully) wireguard with FastestVPN. Quite a bit similar to @jvanderzande with more "guard rails" (aka foolproof settings) and an updated updating mechanism 😉 |
Feedback. Fastestvpn wuth wireguard is working awesome in gluetun. Thanks |
I tried the "contact support through the app" and it opened a link to a live chat. the support person told me to request config files by emailing [email protected] |
The app uses an API call to API.fastestvpn.com, but they do not seem to be publicly available as I can't find any documentation. Requestion a file doesn't sound the right approach to me. :-) |
Would you mind sharing it? Havent heard back from support yet |
Sure... Download and Open the linked file and look at the top for a description of what the batch file does.
Updated batchfile: |
@ksurl, did the script work for you? I haven't found another way yet to obtain my private key. |
It did grab the config but it did not work. It shouldn't matter what server I connect to if it is different from the one I connected with the official client right? I did get an official config from support and that works. But obviously can't use more than once simultaneously with the same client ip. |
So what exactly was wrong/different using the batch file, just so I understand? |
The config was retrieved. When I tried to use it with gluetun it failed to connect. I will have to grab the error when I retry. |
The grabbed config will not work as that contains a hostname and gluetun works with IP adresses. The batch file output gives you the environment variables to use and you simply don't use any config file.
|
Yes, I only used the client ip address and private key. The other fields I used env as the wiki said |
here's the log after container startup:
|
There is no IP address of the target VPN server in that line, but states "IP:"! No idea why that is, but should contain a proper ip address. This is my working Fastestvpn with gluetun yaml:
which gives this log:
|
I redacted the ip and key. I did copy from conf file. I will double check settings and retry. |
The IP is retrieved from the servers.json, so the whole idea is that you only specify Country and/or City name and gluetun will do the rest. Of course you also need the othe env variables as I have shown, which I believe are all the required fields. |
I've updated the batch file to show the proper full PrivateKey. Let me know if this works or still needs changes. |
I just retried after it grabbed a new key and ip and it works now. |
Whoops I skipped this. This was implemented and added to the wiki 2 weeks ago 😄 in commit 62a2951 |
Closed issues are NOT monitored, so commenting here will NOT be seen by the maintainer. This is an automated comment setup because qdm12 is the sole maintainer of this project which became too popular to monitor closed issues for additional comments. |
Whoops 2, I guess I closed this too quickly. I've documented in the wiki fastestvpn page to ask [email protected] for your wireguard settings. That way it indirectly forces them to automate obtaining it for future users 👼 😈 @ksurl did you get any feedback? @jvanderzande I appreciate the bat script 👍 🎖️ But that requires a windows machine, the fastestvpn app as well, so not super portable, I feel like sending an email is easier 😄 Perhaps worth mentioning if fastestvpn doesn't want to let us automate the obtention of the config file though. |
What feedback did you mean? From support? They did send me a file. As for the script, it wouldn't be hard to write a bash script for linux and mac clients, but yes it seems it's the only way to get a config without support currently. It just checks for the file existing and copies it before deletion. Pretty straightforward. |
Oh my bad, I thought you asked about api.fastestvpn.com. It's 4:40AM here, that's probably why 😆
Call me lazy 😄 But I would rather send them an email and wait for a reply the next day! |
yes email and password. it's unclear if you ask for a new one if you use more than 1 instance of gluetun it would invalidate the previous config. |
Sent the email 😉 |
Agree, and I actually was making a pull-req proposal to indicates the 2 options in that sequence. I simply shared what I had done for myself, as it wasn't clear at the time that their support would share the required info. |
Well indeed, they replied:
🤷 |
Is his answer about multiple connections? |
it seems after several reconnections (due to host or container reboot), the key is invalidated. I lose network connection and no matter how many restarts it never connects. I confirmed getting a new key with the script still works. I think this also happens on vpn unlimited but on a much stricter limit. |
URL to the Wiki page
https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/fastestvpn.md
What's missing?
Missing instructions for FastestVPN using Wireguard (e.g. Private / Shared Key ) This is new to FastestVPN, launched in March 2024
The text was updated successfully, but these errors were encountered: