Skip to content
Snippets Groups Projects
Commit 334dbce5 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't need static IP

parent 6e15f791
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,6 @@ OPENVPN_SERVER_NAME="${PROJECT_NAME}-vpn"
OPENVPN_KEY_FILENAME='vpn.ovpn'
vpn_variables=(MY_EMAIL_ADDRESS
LOCAL_NETWORK_STATIC_IP_ADDRESS
MY_USERNAME)
function logging_on_vpn {
......@@ -211,10 +210,6 @@ function remove_user_vpn {
}
function install_vpn {
if [ ! $LOCAL_NETWORK_STATIC_IP_ADDRESS ]; then
return
fi
apt-get -yq install fastd openvpn easy-rsa
if [ ! -f /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment