Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathanprince/raspberry-vpn
https://github.com/jonathanprince/raspberry-vpn
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonathanprince/raspberry-vpn
- Owner: JonathanPrince
- Created: 2016-02-21T20:20:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T21:46:41.000Z (over 8 years ago)
- Last Synced: 2024-04-16T08:46:33.566Z (7 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# raspberry-vpn
## Set up openvpn
sudo apt-get install openvpn
cd /etc/openvpn
sudo wget https://www.privateinternetaccess.com/openvpn/openvpn.zip
sudo unzip openvpn.zip
sudo rename "s/.ovpn/.conf/" *.ovpn
sudo nano credentials.txt
sudo sed -i 's@auth-user-pass@auth-user-pass /etc/openvpn/credentials.txt@g' *.conf
sudo nano /etc/default/openvpn
AUTOSTART="{openvpnConf}"
sudo iptables -A INPUT -i tun0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A INPUT -i tun0 -j DROPsudo sh -c "iptables-save > /etc/iptables.nat.vpn.secure"
sudo nano /etc/network/interfaces
up iptables-restore < /etc/iptables.nat.vpn.secure