This site is best viewed in Google Chrome
8/30/2017 22:34

sudo -s  #  **rest of the instructions assume you've already done this
sudo apt-get update
sudo apt-get upgrade

sudo apt-get install openvpn easy-rsa
cd /usr/share/openvpn/easy-rsa
ln -s openssl-1.0.0.cnf openssl.cnf


apt-get install openvpn easy-rsa dnsmasq

<br />iptables -A INPUT -i tun+ -j ACCEPT
iptables -A OUTPUT -o tun+ -j ACCEPT
iptables -t nat -A POSTROUTING -s -o wlan0 -j MASQUERADE
iptables -I FORWARD -i tun0 -o wlan0 -s -d -m conntrack --ctstate NEW -j ACCEPT
iptables -A INPUT -i wlan0 -m state --state NEW -p udp --dport 4911 -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i wlan0 -o tun+ -m state --state RELATED,ESTABLISHED -j ACCEPT
service openvpn restart

Comments are closed.

<< Previous Posts Newer Posts >>