Jump to content
Not connected, Your IP: 18.206.15.215
benfitita

Config Generator: allow to choose countries with remote-random

Recommended Posts

As a user, when I want to switch countries often and I'm located in Europe, isn't often good enough to just choose Europe in Config Generator, because most of the time it resolves to Swedish servers which are often slow due to routing issues. It'd be useful if users could pick countries one by one into a single .ovpn profile with `remote-random` directive. This way first OpenVPN randomly chooses one of the countries and then AirVPN DNS returns the best server from that country. It's similar to how plain Europe works, only that we get to choose which countries we want.

Share this post


Link to post

I think we might misunderstood each other a bit. While I agree it's possible to include `remote-random` in generated .ovpn files, it doesn't seem possible to get one file with multiple `remote` entries. I've tried your suggestion, but if I select multiple countries and put `remote-random` in "Custom directives", then I'm still getting a separate .ovpn file for each country.

 

My ideal usage scenario would be this:

1. Select not-yet-existing option "Merge all servers into one config file"

2. Choose some planets/continents/countries/servers. For example Netherlands, Belgium and
Grus (Bulgarian server).

3. Receive a config file with

# ...
remote nl3.vpn.airdns.org 443
remote be3.vpn.airdns.org 443
remote 82.102.23.141 443 # it's a server, so it's always resolved
remote-random
# ...

 

It'd be nice if selecting "Resolved hosts in .ovpn file" in case of selected region would include all servers from a region. Currently it takes one random server only.

Share this post


Link to post

It'd be nice if selecting "Resolved hosts in .ovpn file" in case of selected region would include all servers from a region. Currently it takes one random server only.

 

Do this yourself with

nslookup/dig/host nl.all.vpn.airdns.org

and replace nl with the country code of your choice. Put them into remote directives, one at a time, finalize with remote-random.

 

There was an option to make it more automatic but when AirVPN launched its 129th server and when someone generated a config with all servers OpenVPN would tell that it could only handle 128 remote directives with remote-random. Something I really don't like is that instead of implementing a simple comparison mechanism which would avoid generating 128 remote directives if it's about to happen... the feature got removed entirely. The coward's way out. I'm still mad, by the way.


Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

Share this post


Link to post

I think we might misunderstood each other a bit. While I agree it's possible to include `remote-random` in generated .ovpn files, it doesn't seem possible to get one file with multiple `remote` entries. I've tried your suggestion, but if I select multiple countries and put `remote-random` in "Custom directives", then I'm still getting a separate .ovpn file for each country.

 

My ideal usage scenario would be this:

1. Select not-yet-existing option "Merge all servers into one config file"

2. Choose some planets/continents/countries/servers. For example Netherlands, Belgium and

Grus (Bulgarian server).

3. Receive a config file with

 

 

# ...
remote nl3.vpn.airdns.org 443
remote be3.vpn.airdns.org 443
remote 82.102.23.141 443 # it's a server, so it's always resolved
remote-random
# ...

 

It'd be nice if selecting "Resolved hosts in .ovpn file" in case of selected region would include all servers from a region. Currently it takes one random server only.

If you are successful, you want to show your * .ovpn, I want to switch countries NL and Belgium. I understand nothing of "nslookup / dig / host nl.all.vpn.airdns.org" from giganerd

Share this post


Link to post

It's something you enter into a terminal/command prompt, depending on your OS.
 

For NL, you can paste the following into your .ovpn:

remote-random
remote 109.202.107.9 443
remote 213.152.161.34 443
remote 213.152.161.73 443
remote 213.152.162.4 443
remote 213.152.161.164 443
remote 213.152.161.100 443
remote 213.152.161.84 443
remote 213.152.162.180 443
remote 213.152.161.39 443
remote 213.152.162.14 443
remote 213.152.162.98 443
remote 213.152.162.148 443
remote 213.152.161.238 443
remote 213.152.161.29 443
remote 213.152.161.148 443
remote 213.152.161.132 443
remote 213.152.162.164 443
remote 109.232.227.132 443
remote 109.232.227.148 443
remote 213.152.161.68 443
remote 213.152.161.233 443
remote 213.152.162.68 443
remote 213.152.161.218 443
remote 213.152.161.137 443
remote 109.232.227.137 443
remote 213.152.162.113 443
remote 213.152.162.103 443
remote 213.152.161.116 443
remote 213.152.161.24 443
remote 213.152.161.248 443
remote 213.152.162.93 443
remote 213.152.161.210 443
remote 109.202.107.146 443
remote 213.152.162.78 443
remote 213.152.162.169 443
remote 213.152.162.9 443
remote 213.152.162.108 443
remote 213.152.161.14 443
remote 213.152.161.19 443
remote 213.152.161.4 443
remote 213.152.162.153 443
remote 213.152.161.180 443
remote 109.202.107.14 443
remote 213.152.162.73 443
remote 109.202.107.19 443
remote 109.202.103.169 443
remote 213.152.161.228 443
remote 213.152.180.4 443
remote 109.202.107.4 443
remote 213.152.161.169 443
remote 213.152.162.88 443
remote 213.152.161.243 443
remote 213.152.162.83 443
remote 213.152.161.9 443

This is for BE:

remote 194.187.251.114 443
remote 91.207.57.114 443
remote 194.187.251.90 443
remote 194.187.251.154 443
remote 194.187.251.162 443
Edited ... by giganerd

Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

Share this post


Link to post
Interesting story. It seems the current `remote` limit is 64, at least on FreeBSD/pfSense with OpenVPN 2.4.6.
 
I've made a tool to generate appropriate remote config. Feel free to comment and send suggestions. All code runs in your browser and server list is downloaded from AirVPN status API. It does store your selected options in localStorage.
 

 

Share this post


Link to post

 

Interesting story. It seems the current `remote` limit is 64, at least on FreeBSD/pfSense with OpenVPN 2.4.6.

 

That's interesting.. thank you for the info.

 

I've made a tool to generate appropriate remote config. Feel free to comment and send suggestions. All code runs in your browser and server list is downloaded from AirVPN status API. It does store your selected options in localStorage.

 

Wow. This works very well! Extremely handy thing. Not sure if a simple thanks will cut it as this is something I'm dearly missing in the config generator.

 

Well, it works on Chromium and I think on a standard Firefox/Waterfox installation but it does not in my normal Waterfox profile which has addons and custom about:config entries. I suspect it's them breaking something, just like they broke sites like Xing for me. On compile I only get "null".


Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...