Add service defines

master
Max Moser 2018-02-11 17:26:23 +01:00
parent f9f04bb438
commit 7854ed37d2
1 changed files with 13 additions and 9 deletions

View File

@ -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"