topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 13, 2019, 11:23 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [REQ] VPN Gate OVPN Configs Downloader  (Read 677 times)

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
[REQ] VPN Gate OVPN Configs Downloader
« on: November 30, 2019, 09:39 PM »
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.googl...ooachioonbkjbbddclpe
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/...s/374470046925336576

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

ovfinder in chrome webstore
https://chrome.googl...ooachioonbkjbbddclpe

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 46
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #1 on: December 02, 2019, 09:20 AM »
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
New releases: www.patreon.com/publicdomain

Email: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: December 02, 2019, 09:42 AM by publicdomain »

highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 167
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #2 on: December 03, 2019, 06:21 AM »
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, 05:24 AM by highend01 »

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #3 on: December 04, 2019, 05: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

Please tell me what do you want to achieve with this (exactly).
-publicdomain
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!

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

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?
-publicdomain
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?

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

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

highend01

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

2019-12-05_110557.png[REQ] VPN Gate OVPN Configs Downloader

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #5 on: December 05, 2019, 07:24 AM »
haha, thanks a billion highend01! :D