Adjust client configuration version 3 for windows openvpn connector.
This commit is contained in:
@@ -964,6 +964,20 @@ comp-lzo yes
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [[ -n ${DNS_SERVER} ]] && [[ "${DNS_SERVER,,}" != "none" ]] ; then
|
||||
cat <<EOF >> ${_client_openvpn_connector_v3} 2>> "$log_file"
|
||||
|
||||
# Pusch Nameserver Settinggs..
|
||||
dhcp-option DNS ${DNS_SERVER}
|
||||
EOF
|
||||
|
||||
if [[ -n ${SEARCH_DOMAINS} ]] && [[ "${SEARCH_DOMAINS,}" != "none" ]] ; then
|
||||
cat <<EOF >> ${_client_openvpn_connector_v3} 2>> "$log_file"
|
||||
dhcp-option DOMAIN ${SEARCH_DOMAINS}
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
cat <<EOF >> ${_client_openvpn_connector_v3} 2>> "$log_file"
|
||||
|
||||
# --auth-nocache
|
||||
|
||||
Reference in New Issue
Block a user