L޲zt

1. git clone https://github.com/Nyr/openvpn-install.git

1.1 cd openvpn-install/

2. chmod +x openvpn-install.sh

3.sudo ./openvpn-install.sh

 3-1 ask client name
 3-2 ask ip address( x96.ddns.net)
 3-3...................
 Client name: hckao

4. create an other user 
	./openvpn-install.sh


set ip table

sudo iptables -t nat -A POSTROUTING -s 10.8.0.1/24 -o ppp0 -j MASQUERADE

and

edit /etc/rc.local

#add this line

sudo iptables -t nat -A POSTROUTING -s 10.8.0.1/24 -o ppp0 -j MASQUERADE
