DEV Community

loading...

How can I encrypt my web-traffic myself?

Calin Baenen
I'm a programmer born on October 30th, 2006. I love programming, it has, and always will be my passion.
・1 min read

Essentially, how can I get started writing my own VPN?
I want to stop tracking from any (and preferably all) sources (that don't need to track me (having exceptions can be a good thing)).

Discussion (2)

Collapse
james_palermo_bc208e463e4 profile image
James Palermo

If you want to stop tracking, you're really best off just using Firefox with a full compliment of tracker/adblocker plugins configured properly, and a mainstream reputable VPN.

Doing it yourself will be less secure, significantly more expensive, offer less benefits, and take a lot of time and effort to keep working properly.

Collapse
kspeakman profile image
Kasey Speakman

So a VPN requires a server endpoint. And it won't be that much more interesting for privacy if you are the only one using the endpoint -- it's traceable back to you with one more step. You'd probably be better off using one of the existing VPN services for the immediate future. That will also give you some exposure to how they work (handshake and traffic cryptography they use, for example).

One thing I did for a while was using an SSH tunnel to a shared hosting server. Anybody remember those? Although too much traffic would probably get them grumpy -- I was mainly checking personal email at work. Then using Firefox for browsing since it has its own proxy settings separate from the OS. Here is a linux guide that will give you the gist of it. If you use Windows then you can setup the SSH tunnel in PuTTY. Don't forget to tell Firefox to also route DNS queries over the proxy.

SSH Firefox Tunnel