From 599bbfb7e31b6994f521b3dd0419ec97a271d7c3 Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Wed, 29 Oct 2025 13:37:14 +0000 Subject: [PATCH] Add custom directives to VPN reconfigure task --- .../services/vpn/task/VpnReconfigureAction.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/components/schemas/environments/services/vpn/task/VpnReconfigureAction.yml b/components/schemas/environments/services/vpn/task/VpnReconfigureAction.yml index 0c45a555..14c4687b 100644 --- a/components/schemas/environments/services/vpn/task/VpnReconfigureAction.yml +++ b/components/schemas/environments/services/vpn/task/VpnReconfigureAction.yml @@ -35,6 +35,22 @@ properties: allow_internet: type: boolean description: If true, routes all traffic through the VPN, even non-Cycle traffic. + custom_directives: + type: + - string + - "null" + description: > + Additional OpenVPN directives that will be appended to the server configuration + on service start. Each line should follow standard OpenVPN syntax. + examples: + - | + client-to-client + duplicate-cn + persist-key + persist-tun + - | + verb 3 + mute 10 auth: type: object description: Auth configuration for the VPN.