diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-21 16:02:18 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | 62146dbdef785f26567b1074d38802c0b2157795 (patch) | |
| tree | 79ea749ccce47a1f80d462142ce545c78813bce2 /types | |
| parent | a8e43d757000fbfd783026925ad4ea4ef9efc0d0 (diff) | |
Docs + Types server: Add comments about script-security
Diffstat (limited to 'types')
| -rw-r--r-- | types/server/server.go | 2 |
1 files changed, 2 insertions, 0 deletions
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"` |
