From daf377aca3511e8ad74854828f3aaa1dd99f0a91 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 25 Apr 2021 00:13:30 +0200 Subject: wireguard: T1802: add client name to configuration --- op-mode-definitions/wireguard.xml.in | 42 ++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 11 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/wireguard.xml.in b/op-mode-definitions/wireguard.xml.in index 1e9801252..0df838b50 100644 --- a/op-mode-definitions/wireguard.xml.in +++ b/op-mode-definitions/wireguard.xml.in @@ -26,33 +26,53 @@ sudo ${vyos_op_scripts_dir}/wireguard.py --genkey --location "$4" - + - Generate QR code and movile configuration for Wireguard interface + Generate Client config QR code - + <client-name> - + - IP address or FQDN the client will connect to + Local interface used for connection - - <hostname> + - sudo ${vyos_op_scripts_dir}/wireguard_client.py --interface "$4" --server "$6" - + - IPv4/IPv6 address used on the client side + IP address/FQDN used for client connection <hostname> - sudo ${vyos_op_scripts_dir}/wireguard_client.py --interface "$4" --server "$6" --address "$8" + 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