From f880fbcef8243fffa508c923dd0829d38e6ea3f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 31 May 2021 21:16:04 +0300 Subject: [PATCH] Enable OpenVPN management interfaces --- pinecrypt/server/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pinecrypt/server/cli.py b/pinecrypt/server/cli.py index e8734f8..dc91e56 100644 --- a/pinecrypt/server/cli.py +++ b/pinecrypt/server/cli.py @@ -513,11 +513,13 @@ def pinecone_serve_openvpn(local, proto, client_subnet_slot): args += "--proto", "tcp-server", args += "--port", "443", args += "--socket-flags", "TCP_NODELAY", + args += "--management", "127.0.0.1", "7506", instance = "%s-openvpn-tcp-443" % const.FQDN else: args += "--dev", "tunudp0", args += "--proto", "udp", args += "--port", "1194", + args += "--management", "127.0.0.1", "7505", instance = "%s-openvpn-udp-1194" % const.FQDN args += "--setenv", "instance", instance db.certificates.update_many({