Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # VPN TUT #
- updated openvpn for fixed vulns : https://github.com/angristan/openvpn-install/blob/master/openvpn-install.sh
- openvpn file : https://pastebin.com/raw/J3THPXsv # just wget it. wget https://pastebin.com/raw/J3THPXsv -O openvpn-install.sh ; chmod +x openvpn-install.sh ;
- Step 1 put the openvpn Config on the server. Then chmod 777 openvpn-install.sh .
- Step 2 run ./openvpn-install.sh
- Step 3 ps ax|grep openvpn
- Step 4 sysctl -p /etc/sysctl.conf
- Step 5 iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
- Step 5 turning off pings -
- ## turn off
- sysctl net.ipv4.icmp_echo_ignore_all=1
- ## turn back on
- sysctl net.ipv4.icmp_echo_ignore_all=0
- An save sysctl -p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement