I set up my own VPN by installing OpenVPN on a Ubuntu server, then I download client.ovpn file from Ubuntu server to my Windows laptop. And then, I import that client.ovpn to OpenVPN GUI app on Windows and finally, I connect to my Ubuntu VPN server and everything work fine.

I installed OpenVPN on Ubuntu server using this instruction: https://github.com/angristan/openvpn-install

So I think traffic flow will be like this:

My computer (browser,...) --> Ubuntu OpenVPN server --> Internet.

Does OpenVPN GUI encrypt traffic between my computer to Ubuntu OpenVPN server?

  • Is your browser traffic configured to use the VPN? What about DNS? – schroeder Jan 14 at 11:12
  • @schroeder i am not sure but when i check my IP address at whatismyipaddress.com or other sites using my browser, it shows IP address of my Ubuntu VPN server. About DNS, i am not sure again, but i use VPS at Linode.com. And sorry for my foolishness, i am just a newbie. – Thuat Nguyen Jan 14 at 11:33
  • If you configured the VPN server and client configuration to use encryption (not alg=none) then yes, it will. You could verify with a packet capture. – multithr3at3d Jan 14 at 22:56
  • @multithr3at3d i got it. thank you so much. – Thuat Nguyen Jan 15 at 15:31
  • I can't help but wonder about your use case? Where is your Ubuntu server, in particular is it local or remote? Are you the only user of the VPN server and are you the known owner? In short, what are you accomplishing with this setup? – user10216038 Jan 15 at 20:28

It depends.

The bulk of the traffic (HTML pages, videos, images and almost everything else) will be encrypted on your Linode VPN, sent to you and decrypted locally. The requests you make will be encrypted locally, sent to your server, decrypted there, and sent to the internet.

But DNS is one exception. As it main operation is over UDP, and not TCP, most TCP-based VPN will not carry DNS queries, and they will be sent to your default DNS server.

| improve this answer | |
  • Thank you so much for your answer. In readme.md of the Github I mentioned on my post, I found these features: https://i.imgur.com/zWVQadU.png. I chossed UDP when i set up OpenVPN on my server, so does that mean my DNS is protected and all my network traffic is encrypyted and pretty safe when i using my VPN? – Thuat Nguyen Jan 14 at 15:15
  • And btw, i think i will change to Ubuntu after a few more days, and in the feature, it say Block DNS leaks on Windows 10. That because Ubuntu can prevent itself from leaking DNS or maybe this VPN only can prevent leaking DNS on Windows 10? – Thuat Nguyen Jan 14 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.