A75a45510f698acabcfe5eb1fec8ef164eaf700c
By:
Paz2

getting better ping to a server from the other side of the world

May 30, 2017 596 views
Server Optimization Debian

I'm looking for something like a VPN or something placed midway between me and the droplet, to minimise ping. I need a cost-effective, cheap or even free solution for this.

Regards,
yer boi paz

2 Answers
hansen May 30, 2017
Accepted Answer

Hi @Paz2

The best option would be to get a droplet in the data center closest to you. Which country are you located in?

I don't think it will help - maybe even make it a bit slower, but you can try:
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-debian-8

A Virtual Private Network (VPN) allows you secure access to a remote server. In short, this allows the end user to mask connections and more securely navigate an untrusted network. With that said, this tutorial teaches you how to setup OpenVPN, an open source Secure Socket Layer (SSL) VPN solution, on Debian 8.
  • I've moved my droplet to signapore (closer to australia) but now none of my services can be accessed even when i change the ip to the new one.. very weird.

    • @Paz2
      Which services are you running?
      If you're talking about changing your DNS records, then there's a Time To Live (TTL) on each record, which means it'll take a little time for the records to update.
      You can run a dig command to list the TTL of your domain:

      dig example.com A
      
      • I'm running two web servers, an ftp server and a minecraft server. All iptables are done, but none of the services can be accessed. This is with the direct ip.

        • @Paz2
          When you setup web server and ftp, did you define the previous droplet IP-address in configuration files anywhere?
          When you moved the droplet, did you shutdown before making snapshot?

          @jtittle Have you seen a problem where services (web+ftp) cannot be accessed after a droplet move to another region?

          • I shutdown before making a snapshot, and the ip wasn't defined in any configuration files, just the ports. This is really odd.

          • @hansen i've figured out the problem now.. one of my services (it had a web and minecraft built in) was in a broken state so i'm just going to reinstall it and keep the main data. ftp was working, stupid me didnt check it, so i've got it fixed. thanks for your help!

@Paz2

Adding a VPN most likely won't reduce latency between you (locally) and the Droplet (remotely) as connection to the VPN relies on your local connection. Any latency between your connection and the VPN will cause this to increase, and that includes distance-based latency.

I use a VPN 24/7 on my MacBook and testing connections from my location in Tennessee to others in San Fransisco, New York, etc -- the difference is negligible. I'm looking at maybe a 1ms difference.

Have another answer? Share your knowledge.