DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [REQ] VPN Gate OVPN Configs Downloader  (Read 18,137 times)

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • Posts: 46
[REQ] VPN Gate OVPN Configs Downloader
« on: December 01, 2019, 03:39 AM »
I would like some program to download the OpenVPN config files *.ovpn from VPN Gate server list
With filtering options, as IP, Country, Name, etc
At this time the only tool with this is OVfinder, a Chrome Extension
https://chrome.google.com/webstore/detail/free-openvpn-server-finde/cmonbbaipgkkooachioonbkjbbddclpe
This one is good, however I think is better if we can make this from a desktop program :P

VPN Gate website
https://www.vpngate.net/en/
Scroll down a bit to view the list of all *.ovpn config files available for you

base64-encoded, the list is available always as csv too here
http://www.vpngate.net/api/iphone/

https://twitter.com/vpngate/status/374470046925336576

I guess that's what Ovfinder uses to give the list.

ovfinder in chrome webstore
https://chrome.google.com/webstore/detail/free-openvpn-server-finde/cmonbbaipgkkooachioonbkjbbddclpe

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #1 on: December 02, 2019, 03:20 PM »
Hello c-sanchez!

As I begin December's coding, I can do this one for you :Thmbsup:

Please tell me what do you want to achieve with this (exactly).

Is the whole program based on parsing http://www.vpngate.net/api/iphone/ to extract everything?

Should the filtering be done multiple times on the resulting files after they're written to your computer (i.e. download in bulk then filter multiple times)?

Is this the case?

Do feel free to express at ease for us to engage!

Cheers!
Vic
« Last Edit: December 02, 2019, 03:42 PM by publicdomain »

highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #2 on: December 03, 2019, 12:21 PM »
Not heavily tested but the basics are working...

You're free to modify it, but reference to my user account name here if you do this...

After you've downloaded the servers (via the belonging button), select one or more (via holding shift or ctrl) in the listview and click on the "Save config(s)" button.
You may want to choose a different path via the "Choose" button first, because the C:\ root may not be writable without appropriate permissions...
« Last Edit: December 04, 2019, 11:24 AM by highend01 »

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • Posts: 46
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #3 on: December 04, 2019, 11:33 PM »
Not heavily tested but the basics are working...

You're free to modify it, but reference to my user account name here if you do this...

After you've downloaded the servers (via the belonging button), select one or more (via holding shift or ctrl) in the listview and click on the "Save config(s)" button.
You may want to choose a different path via the "Choose" button first, because the C:\ root may not be writable without appropriate permissions...
Thanks highend01, that works nice! :D

If possible add some information from the download
or that if it is not possible to have the size of the download first then how much mb or bytes have been downloaded

It's a bit confusing don't have some kind of information like that and just seeing a "working" window :P
This can be useful specially if we have a slow internet connection or if was disconnected during download, you know, to know what is happening.

In any case the program works perfectly, thank you very so much! :D

Hello c-sanchez!

As I begin December's coding, I can do this one for you :Thmbsup:
Vic
Hi publicdomain! thanks for your reply, as you can see highend01 did exactly what I wanted, however I think can be nice view some other tool with the same idea, other implementation :P
Maybe some C++ version or some other programming language would be nice.

How can you make this? Just curiousity heh

By ohter side, just in case, I don't despise what highend01 did, don't get me wrong.
That tool was made really cool, I like the simple and effective things :D

Quote from: publicdomain
Please tell me what do you want to achieve with this (exactly).
Well, I usually use vpngate to avoid the download limit of some sites like mega, nothing illegal I think haha, also is much better than download the full VPN Gate Client, since with have the config files and openvpn installed in the system is enough, even exist some openvpn portable!

Quote from: publicdomain
Is the whole program based on parsing http://www.vpngate.net/api/iphone/ to extract everything?
Yup, I guess is the best way to do :P

Quote from: publicdomain
Should the filtering be done multiple times on the resulting files after they're written to your computer (i.e. download in bulk then filter multiple times)?

Is this the case?
As highend01 did, download the base64-encoded csv list, decode this, show the list, and allow download any config, I'm not sure how is downloaded that.

All configs are downloaded locally is some temporary directory?
Are downloaded via individual links?

Quote from: publicdomain
Do feel free to express at ease for us to engage!

Thank you so much for all guys!
Are the best :D

highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #4 on: December 05, 2019, 10:05 AM »
With a download progress bar...

2019-12-05_110557.png

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • Posts: 46
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #5 on: December 05, 2019, 01:24 PM »
haha, thanks a billion highend01! :D

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • Posts: 46
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #6 on: January 23, 2020, 04:46 PM »
Hey highend01 I have a small request, is possible make the progress bar part of main window?

In the current way, the program have some "bugs"
* The progress window is always visible, even as we open other windows
* The 'Download servers' and 'Save config(s)' buttons are wasting window space
* Can look better ;P

Original


A idea example


The same but inverted :P


highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #7 on: January 23, 2020, 05:53 PM »
You have the sourcecode^^

Use a progress bar instead and move the buttons...

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • Posts: 46
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #8 on: January 23, 2020, 06:22 PM »
I have not much programming skills, but by your words I guess is easy, maybe changing some "window" value by "progressbar" and moving the things in the source?
Well I will check then, but that, I don't have the skills I'd like, even with a "simple" language as AHK:P
« Last Edit: January 23, 2020, 06:33 PM by c-sanchez »

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • Posts: 46
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #9 on: January 23, 2020, 07:58 PM »
And yes... I have not idea

Original address: https://www.donationcoder.com/forum/index.php?topic=49153.0