diff --git a/actions/openvpn b/actions/openvpn index b61e932a3..726f1e1a9 100755 --- a/actions/openvpn +++ b/actions/openvpn @@ -50,6 +50,7 @@ ATTR_FILE = os.path.join(KEYS_DIRECTORY, 'pki', 'index.txt.attr') SERVER_CONFIGURATION = ''' port 1194 proto udp +proto udp6 dev tun client-to-client ca /etc/openvpn/freedombox-keys/pki/ca.crt @@ -67,6 +68,7 @@ CLIENT_CONFIGURATION = ''' client remote {remote} 1194 proto udp +proto udp6 dev tun nobind remote-cert-tls server @@ -209,6 +211,8 @@ def subcommand_upgrade(_): action_utils.service_disable(OLD_SERVICE_NAME) action_utils.service_enable(SERVICE_NAME) + action_utils.service_try_restart(SERVICE_NAME) + def _write_server_config(): """Write server configuration."""