From 62146dbdef785f26567b1074d38802c0b2157795 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 21 Mar 2023 16:02:18 +0100 Subject: Docs + Types server: Add comments about script-security --- types/server/server.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'types') diff --git a/types/server/server.go b/types/server/server.go index 9747ebf..ae73f45 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -107,6 +107,8 @@ type List struct { // Configuration is the configuration that you get back when you call the get config function type Configuration struct { // VPNConfig is the VPN Configuration, a WireGuard or OpenVPN Configuration + // In case of OpenVPN, we append "script-security 0" to disable scripts from being run by default. + // A client may override this, e.g. for, very trusted, pre-provisioned VPNs VPNConfig string `json:"config"` // Protocol defines which protocol the configuration is for, OpenVPN or WireGuard Protocol protocol.Protocol `json:"protocol"` -- cgit v1.2.3