Setting up Raspberry Pi as a VPN gateway
Hi All,
I've been searching all over the internet for a guide on how to do this but thus far can't seem to find anything solid.
Basically what I want to do is set up my Raspberry Pi so that it acts as a VPN server with my PIA for all traffic on my home network. The aim of this is so I can leave the Pi switched on all the time and all traffic is passed through the VPN server, encrypted then pushed out to the web.
All the tutorials I've found have all used OpenVPN but aim at making it possible to be able to connect to a home network with a VPN server on the Pi. I don't really want that, just all traffic passing trough my router.
Any suggestions would be welcomed :-)
Comments
You connect to the PIA VPN via the client and can forward everything encrypted via OpenVPN through the servers at PIA.
There are actually a number of threads on how to do this here, but the forum search is all but useless. Use a search engine that lets you specify a domain to restrict search results to. Here is one I use.
Ixquick.com
See? Much better than the forum search.
:-B
Raspberry Pi VPN Router
https://gist.github.com/superjamie/ac55b6d2c080582a3e64
The Raspberry Pi 1 is powerful enough for casual browsing, though it's not hard to overwhelm the CPU with multiple concurrent downloads. I have not tried the Raspberry Pi 2 yet, but it's effectively several times faster so should be better.