Don't need static IP
This commit is contained in:
parent
6e15f791d8
commit
334dbce583
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue