The original script was modified to be compatible with the Grandstream phones.
Routing of all traffic through the VPN has been disabled.
;push "redirect-gateway def1 bypass-dhcp"
TLS, tls-crypt, or tls-auth authentication disabled.
;tls-crypt tls-crypt.key 0
;tls-auth tls-auth.key 0
The log was enabled 🙂
log /var/log/openvpn/log.log
First, get the script and make it executable:
curl -O https://raw.githubusercontent.com/jaimey/openvpn-install/master/openvpn-install.sh
chmod +x openvpn-install.sh
Then run it:
./openvpn-install.sh
You need to run the script as root and have the TUN module enabled.
The first time you run it, you'll have to follow the assistant and answer a few questions to setup your VPN server.
I recommend:
IPv6 support = no
Protocol = UDP
DNS = Google
Compression = no
Customize encryption settings = no
Many thanks to the contributors and Nyr's original work.
This project is under the MIT Licence