Spectre
By:
Spectre

OpenVPN - client's IP same as server's IP

February 27, 2017 403 views
DigitalOcean CentOS

Hey all.

I was wondering if it was normal to have the same IP for the client and the server. The client's IP is basically the IPv4 of the server when I check on WhatsMyIp.

Thanks in advance

2 Answers

@Spectre

A VPN works by masking your IP with that of the server your connecting to and by encrypting traffic passed through it -- logging, in most cases, is disabled, thus reducing the ability of tracking.

If you sign up for a VPN service, you'd still see the IP of the server that you're connecting to until you disconnect and reconnect. Even then, it may not be guaranteed that you will connect to different IP -- it all depends on how the VPN service has their network/service configured.

In most cases, this is desirable (same IP) as the purpose of the VPN is to encrypt your traffic to and from using SSL or similar + any encryption that may be done by the software you're using so that it can not be intercepted, broken apart, and read.

  • are we able to change the mask the geolocation when we connected to the openvpn ?

    I have a DigitalOcean Droplet Virtual Server with OpenVPN + Ubuntu 16.04. The server I chose is located in Singapore, SG.

    Can I change the apparent location to another country? Malaysia for example.

    Thank you.

Depends on what you're doing with OpenVPN... Maybe? What did you expect?

  • to protect myself online

    • Yes, that's the point of a VPN if you send all traffic over it. To secure everything via your server.

    • Okay, so what IP were you expecting? -- Yes, it's normal that you will see your server IP showing up if you "check your IP" using a remote service.

      • Like some random IP or something

        • Then you shouldn't setup your own VPN, but buy it as a service - or use Tor.
          You will never get a truly random IP anywhere.
          If you connect via VPN, you get the IP of the VPN-server. If you connect to your own server, it will always be that IP. If you connect to a provider, they usually have multiple IPs.
          If you connect via Tor, you get the IP of whatever Exit-Node you come out of. This is somewhat random, but not truly random, and will always depend on the exit nodes connected to Tor.

Have another answer? Share your knowledge.