Question

How to change my OpenVPN Server location?

Hi, How to change my OpenVPN server location to connect? My OpenVPN server is under Ubuntu 16.04. I use client1.ovpn file to connect VPN and it’s always connects to Frankfurt server. How can I change connect location when I want? Is there any tutorial about this?

Thanks…


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, @onersan

Since you’ve deployed your droplet in FRA1 location this will be the location every time you connect and it won’t change. If want to have a droplet in a different location you can spin another droplet in another zone:

DigitalOcean’s data centers are in the following locations:

  • NYC1, NYC2, NYC3: New York City, United States
  • AMS2, AMS3: Amsterdam, the Netherlands
  • SFO1, SFO2, SFO3: San Francisco, United States
  • SGP1: Singapore
  • LON1: London, United Kingdom
  • FRA1: Frankfurt, Germany
  • TOR1: Toronto, Canada
  • BLR1: Bangalore, India

Note: Due to limited capacity in NYC2, AMS2, SFO1, and SFO2, only users who already have existing resources in those regions can create more resources there.

You can also create a snapshot of the droplet and spin up a new droplet using the snapshot as well. You can also migrate your droplet to another location, for this you can check this tutorial:

https://docs.digitalocean.com/products/images/snapshots/how-to/migrate-droplets/

Regards, Alex