How to set up your own Raspberry Pi powered VPN

Not quite right – follow this guide listed here, from BBC, then comment out first line of server.conf (#) to prevent binding error on start;

update the iptables with:

iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

then install iptables-persistent package to commit changes across reboots.  If you make the change after installing iptables-peristent, then run command

sudo su -c ‘iptables-save > /etc/iptables/rules.v4’

 

Original article here:

BBC Click’s Kate Russell gives a step-by-step guide to setting up your own virtual private network using a Raspberry Pi.

Source: How to set up your own Raspberry Pi powered VPN – BBC News

Leave a Reply