Unnejm 0 Posted ... When I create an .ovpn file and in the config generator select the option to put the direct IP in the file, rather than the hostname (for example, AirVPN's German server IPs rather than de.airvpn.org), it will give me an .ovpn file with just one single IP from that location, rather than all of them. This means, when I use this .ovpn file, it will always give me the exact same exit IP. Is there a way to create an .ovpn file with all the IPs from a specific location, rather than just one? Or can I find out, which AirVPN IPs belong to this location, so I can manually add them to the file? Quote Share this post Link to post
zhang888 1066 Posted ... You can resolve the country.all.vpn.airdns.org and get all IPs for a specific country. For Germany that will be: $ dig a de.all.vpn.airdns.org de.all.vpn.airdns.org. 3600 IN A 46.165.208.70de.all.vpn.airdns.org. 3600 IN A 185.104.184.42de.all.vpn.airdns.org. 3600 IN A 178.162.198.103de.all.vpn.airdns.org. 3600 IN A 79.143.191.166de.all.vpn.airdns.org. 3600 IN A 178.162.198.40de.all.vpn.airdns.org. 3600 IN A 178.162.198.102de.all.vpn.airdns.org. 3600 IN A 46.165.208.65de.all.vpn.airdns.org. 3600 IN A 46.165.208.69 Then you have to put those addresses in the "remote" line, together with a port. Quote Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post
Unnejm 0 Posted ... Thanks, the IP resolving worked, but I'm not sure how to separate the IPs in the .ovpn file. Do I just add more lines like this remote [iP address 1] 443remote [iP address 2] 443remote [iP address 3] 443 for each IP? Quote Share this post Link to post
zhang888 1066 Posted ... Correct. Quote Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post
OpenSourcerer 1442 Posted ... Add "remote-random" as well, otherwise you will be connecting to the same IP once again. Quote Hide OpenSourcerer's signature Hide all signatures NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT. LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too! Want to contact me directly? All relevant methods are on my About me page. Share this post Link to post