From d4b2777c1bffca47d9b3b21d8907818f06591c59 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 22 Jul 2021 23:11:36 +0200 Subject: op-mode: xml: rename definition file for "generate wireguard" command --- op-mode-definitions/generate-wireguard.xml.in | 66 +++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 op-mode-definitions/generate-wireguard.xml.in (limited to 'op-mode-definitions/generate-wireguard.xml.in') diff --git a/op-mode-definitions/generate-wireguard.xml.in b/op-mode-definitions/generate-wireguard.xml.in new file mode 100644 index 000000000..6f9f62a30 --- /dev/null +++ b/op-mode-definitions/generate-wireguard.xml.in @@ -0,0 +1,66 @@ + + + + + + + Generate Wireguard keys + + + + + Generate Client config QR code + + <client-name> + + + + + + Local interface used for connection + + + + + + + + IP address/FQDN used for client connection + + + <hostname> + + + sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8" + + + + IPv4/IPv6 address used by client + + <x.x.x.x> <h:h:h:h:h:h:h:h> + + + sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8" --address "${10}" + + + + IPv4/IPv6 address used by client + + <x.x.x.x> <h:h:h:h:h:h:h:h> + + + sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8" --address "${10}" --address "${12}" + + + + + + + + + + + + + + -- cgit v1.2.3