Created
October 3, 2022 04:31
-
-
Save oxyflour/218a23da8060d452f4ce23259d49dffa to your computer and use it in GitHub Desktop.
openvpn settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04 | |
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE | |
echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf && systctl -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment