Don't need static IP

This commit is contained in:
Bob Mottram 2017-09-25 15:28:52 +01:00
parent 6e15f791d8
commit 334dbce583
1 changed files with 0 additions and 5 deletions

View File

@ -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