Jump to content
Not connected, Your IP:

Config Generator Resolve All Ips

Recommended Posts

Good afternoon,


There use to be an option on the config generator to resolve all ip in a group to have them in your ovpn file to connect at random.


I cant seem to find it any more, has it been removed?


thank you

Share this post

Link to post

Yes, it has been removed.  You can workaround like this:

1. Select all servers of interest one-by-one (doing it by country no longer works)

2. In advanced mode, click the button called "Resloved hosts in .ovpn file"

3. Download the archive file which you will extract leaving you with a different ovpn file for each server you checked, all in the same directory.

4. To get out the ips you need, cd into the dir where you extracted them and:

grep 'remote ' *.ovpn | awk -F';' '{ print $2 }'

Share this post

Link to post

Cheers pal.


Does anyone know any reason why it was removed?  I like to have the IPs so i can ensure im only using the AirVPN DNS servers

Share this post

Link to post

Dunno why removed.  The work around I gave you work 100 % as good, with just a few extra steps that will take you 20 seconds to complete.  Enjoy.

Share this post

Link to post



We had to remove that option because OpenVPN can't handle configuration files with more than 64 "remote" directives. Now, with the growth of our infrastructure, we now have various areas with more than 64 servers. The only other option we had to generate correct configuration files  would have been to over-complicate the generator, adding warnings for each case exceeding 64 remote directives and stopping the generation in such cases. We have evaluated that this would have caused confusion to a lot of customers. The advanced users who need this option can anyway easily circumvent the problem, as you have noticed. Just remember that with your method, if you build a .ovpn file including more than 64 "remote" directives, you'll end up with a non-usable configuration file.


Kind regards

Share this post

Link to post

Just noticed this, too, and I don't like it. Even if I knew how to circumvent this. You just make all of us do more work.


I hope it will return one day - maybe in the form of a simple greyed out option if more than 64 servers were selected. You don't need warnings; warnings confuse people. Just ask a tech newbie.

» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.


» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

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.

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.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image

  • Create New...