Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
I donât want to write an article on how to set up a VPN as there are thousands of them on the Internet each for different tastes and specific needs.
Today I just want to talk about just a few simple things that bring a lot of misunderstandings and tons of questions (even from geeks).
VPN client can be installed on almost any access point
Even with very old access point you can get an upgrade or install the desired package. For example, for my old Zyxel Keenetic Ultra, I was able to find an unofficial update that contained a lot of useful things, including the OpenVPNÂ client.
For your access point, there may also be a firmware available for free download. If you have initially set up all the access points for working with VPN, then life as a whole becomes much easier.
VPN allows to selectively route traffic
You only need to know the address of the subnet you want to connect to using a VPN. Then you add\update the list of these networks on your VPN server, the client receives them and starts to drive only the necessary\specified traffic through a VPN. The rest of traffic goes directly and without VPNs. Important: there are many guides and instructions, after following which you route 100% of your traffic through a VPN. This is often slow, expensive, and you hardly need it all the time.
Mobile devices
For some reason, many people believe that VPN and mobile devices work by the principle: âAll or Nothing.â No, it is not so. Even with iPhone, you can also drive only the necessary traffic through a VPN.
Tor
I would also like to add that, for reasons unknown to me, most people forget about Tor, which also helps with similar tasks, and currently works stably and quickly.
My example
As a simple home solution, I would recommend Google Compute Engine, where at the lowest cost I have an OpenVPN server running. Of course, you can choose any other hosting provider and VPNÂ server.
The clients for this server are present on my access point (the native client), on the laptop, and on the phone. (Android, the standard client, for some reason, refused to read the config, but the client from Arne Schwabe got installed and started). It works just fine, no complaints at all.
I am much more confident in the security and durability of a personal server than any free or even paid one. I am able to control everything here including possible virus penetration attempts. I believe it will always be up and running without downtimes, there is no reason to believe the opposite (well, except that the huge range of Google addresses get blocked, but changing the serverâs IP address is pretty easy).
Bellow, I am providing my client setup example (of course, without keys). The server and client were set up within several hours in the evening, despite the fact that this is my first experience deploying OpnVPN.
Configuring the client
Certificates can be added directly to the configuration file to feed it smoothly to the access point or phone:
client
dev tun
proto udp
remote YOUR_SERVER_IP 1194
resolv-retry infinite
nobind
persist-key
persist tun
verb 3
<ca>
PUT YOUR CA CERTIFICATE HERE
</ ca>
<cert>
PUT YOUR CERTIFICATE HERE
</ cert>
<key>
PUT YOUR PRIVATE KEY CERTIFICATE HERE
</ key>
key-direction 1
<tls-auth>
PUT YOUR STATIC KEY CERTIFICATE HERE
</ tls-auth>
I am using almost default server settings. Just one thingâââI added pushes thereâââso that only the necessary traffic goes through a VPN:
It looks like this:
push âroute x.x.x.x 255.255.255.255â
push âroute x.x.x.0 255.255.255.0â
Thatâs it. All the best!
Useful VPN Features was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.