Jump to content


Photo

OpenVPN config files: How to change servers?


  • Please log in to reply
1 reply to this topic

#1 Aspisoph

Aspisoph

    Member

  • Members
  • PipPip
  • 11 posts

Posted 29 November 2017 - 08:37 AM

I visited the config generator page at AirVPN where you can create a config file by planet, country, server, and have got OpenVPN to use it. But what I can't figure out is how to select from one of multiple servers that were added to the configuration file. OpenVPN appears to just select the top most one, which in one configuration file I have that includes all the severs in a country, it picks the same one which is very slow. So how do I change which server I connect to, without making config files for each server and restarting OpenVPN? I am not using Windows.



#2 zhang888

zhang888

    Donald Trump of IT/Security

  • Moderators
  • 2146 posts

Posted 29 November 2017 - 09:53 AM

Comment out the lines with the servers you don't wish to use.

Config file comments are preceded with '#' or ';' symbols.


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.






Similar Topics Collapse

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 13831 - BW: 45642 Mbit/sYour IP: 54.227.104.40Guest Access.