From 7854ed37d2543cf281925cb0e5a6725c8ee7d55e Mon Sep 17 00:00:00 2001 From: Max Moser Date: Sun, 11 Feb 2018 17:26:23 +0100 Subject: [PATCH] Add service defines --- shared/nm-service-defines.h | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/shared/nm-service-defines.h b/shared/nm-service-defines.h index 72bce54..dbd18f0 100644 --- a/shared/nm-service-defines.h +++ b/shared/nm-service-defines.h @@ -28,15 +28,19 @@ #define NM_DBUS_INTERFACE_OPENVPN "org.freedesktop.NetworkManager.wireguard" #define NM_DBUS_PATH_OPENVPN "/org/freedesktop/NetworkManager/wireguard" -#define NM_WG_KEY_ADDR_IP4 "local-ip4" -#define NM_WG_KEY_ADDR_IP6 "local-ip6" -#define NM_WG_KEY_LISTEN_PORT "local-listen-port" -#define NM_WG_KEY_PRIVATE_KEY "local-private-key" -#define NM_WG_KEY_POST_UP "script-post-up" -#define NM_WG_KEY_POST_DOWN "script-post-down" -#define NM_WG_KEY_PUBLIC_KEY "peer-public-key" -#define NM_WG_KEY_ALLOWED_IPS "peer-allowed-ips" -#define NM_WG_KEY_ENDPOINT "peer-endpoint" +#define NM_WG_KEY_ADDR_IP4 "local-ip4" +#define NM_WG_KEY_ADDR_IP6 "local-ip6" +#define NM_WG_KEY_LISTEN_PORT "local-listen-port" +#define NM_WG_KEY_PRIVATE_KEY "local-private-key" +#define NM_WG_KEY_DNS "connection-dns" +#define NM_WG_KEY_MTU "connection-mtu" +#define NM_WG_KEY_PRE_UP "script-pre-up" +#define NM_WG_KEY_POST_UP "script-post-up" +#define NM_WG_KEY_PRE_DOWN "script-pre-down" +#define NM_WG_KEY_POST_DOWN "script-post-down" +#define NM_WG_KEY_PUBLIC_KEY "peer-public-key" +#define NM_WG_KEY_ALLOWED_IPS "peer-allowed-ips" +#define NM_WG_KEY_ENDPOINT "peer-endpoint" #define NM_WG_KEY_PRESHARED_KEY "preshared-key" #define NM_OPENVPN_KEY_AUTH "auth"