diff options
author | hagbard-01 <39653662+hagbard-01@users.noreply.github.com> | 2018-09-03 08:24:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-03 08:24:56 -0700 |
commit | d31d16d38c191a8973d79302b108db7276aef7fd (patch) | |
tree | a4208622bfd8f49ec1c75cc07c0ae46fde13049a /op-mode-definitions | |
parent | c49ec1392ba68a20af13c21f8a739d7b1dbc4906 (diff) | |
parent | d6679e21bc58a37195b518e6b51bc7a50df1b947 (diff) | |
download | vyos-1x-d31d16d38c191a8973d79302b108db7276aef7fd.tar.gz vyos-1x-d31d16d38c191a8973d79302b108db7276aef7fd.zip |
Merge pull request #49 from hagbard-01/current
T793: wireguard: implement fwmark, pre-shared key
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/wireguard.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml index a7e156d8d..dd62f0f2f 100644 --- a/op-mode-definitions/wireguard.xml +++ b/op-mode-definitions/wireguard.xml @@ -12,8 +12,14 @@ <properties> <help>generate a wireguard keypair</help> </properties> - <command>${vyos_op_scripts_dir}/wireguard_key.py --genkey</command> + <command>${vyos_op_scripts_dir}/wireguard.py --genkey</command> </leafNode> + <leafNode name="preshared-key"> + <properties> + <help>generate a wireguard preshared key</help> + </properties> + <command>${vyos_op_scripts_dir}/wireguard.py --genpsk</command> + </leafNode> </children> </node> </children> @@ -26,13 +32,13 @@ <properties> <help>show wireguard public key</help> </properties> - <command>${vyos_op_scripts_dir}/wireguard_key.py --showpub</command> + <command>${vyos_op_scripts_dir}/wireguard.py --showpub</command> </leafNode> <leafNode name="privkey"> <properties> <help>show wireguard private key</help> </properties> - <command>${vyos_op_scripts_dir}/wireguard_key.py --showpriv</command> + <command>${vyos_op_scripts_dir}/wireguard.py --showpriv</command> </leafNode> </children> </node> |