Question

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

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


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.

@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.

Depends on what you’re doing with OpenVPN… Maybe? What did you expect?