Warning: I found this in my drafts and I think it was mostly done. Enough where I can follow it again. You might have issues following it word for word though until I can recheck and remove this warning.
Purpose
The purpose of this project is to create an environment where we can use two Raspberry Pi’s to create a temporary VPN tunnel, where the client Pi also has an AP hotspot that routes all traffic through the VPN tunnel. This is good for those people who are going to countries that have different policies than your current country. Some of the uses I’ve used it for:
- Watching Netflix while in another country so that I can view my home countries content
- Getting around country firewalls that block applications such as Facebook, twitter, Instagram, etc
- Connecting back to a trusted network when I am in a spot where the network is known to be monitored and trying to steal data.
Install the Required Software
Install the following packages:
apt-get update apt-get upgrade rpi-update apt-get install openvpn hostapd resolvconf dnsmasq cryptsetup libnet-ifconfig-wrapper-perl cryptsetup
Now disable some of the software from starting up, as we will be having these pieces start up triggered by future events such as eth0 up and openvpn up:
update-rc.d openvpn disable update-rc.d hostapd disable update-rc.d dnsmasq disable