From 65765fe95a34d81ad4a3aedb035936bbaf6a3f0e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 29 Jul 2021 18:47:42 +0200 Subject: ipsec: T1210: add op-mode command to print Windows connection profile --- op-mode-definitions/generate-ipsec-profile.xml.in | 111 ++++++++++++++++++---- 1 file changed, 90 insertions(+), 21 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/generate-ipsec-profile.xml.in b/op-mode-definitions/generate-ipsec-profile.xml.in index d1e5efd20..be9227971 100644 --- a/op-mode-definitions/generate-ipsec-profile.xml.in +++ b/op-mode-definitions/generate-ipsec-profile.xml.in @@ -7,33 +7,49 @@ Generate IPsec related configurations - + - Generate Apple iOS profile from IPsec connection profile - - vpn ipsec remote-access connection - + Generate IKEv2 IPSec remote-access VPN profiles - + - Remote address where the client will connect to + Generate iOS profile for specified remote-access connection name - <fqdn> - + vpn ipsec remote-access connection - ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" - + - Connection name as seen in the VPN application + Remote address where the client will connect to - <name> + <fqdn> + - ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --name "$8" + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os ios --connection "$5" --remote "$7" + + + Connection name as seen in the VPN application + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os ios --connection "$5" --remote "$7" --name "$9" + + + + Profile name as seen under system profiles + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os ios --connection "$5" --remote "$7" --name "$9" --profile "${11}" + + + Profile name as seen under system profiles @@ -41,18 +57,40 @@ <name> - ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --name "$8" --profile "${10}" + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os ios --connection "$5" --remote "$7" --profile "$9" + + + + Connection name as seen in the VPN application + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os ios --connection "$5" --remote "$7" --profile "$9" --name "${11}" + + - + + + + + Generate iOS profile for specified remote-access connection name + + vpn ipsec remote-access connection + + + + - Profile name as seen under system profiles + Remote address where the client will connect to - <name> + <fqdn> + - ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --profile "$8" + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os windows --connection "$5" --remote "$7" @@ -61,14 +99,45 @@ <name> - ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --profile "$8" --name "${10}" + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os windows --connection "$5" --remote "$7" --name "$9" + + + + Profile name as seen under system profiles + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os windows --connection "$5" --remote "$7" --name "$9" --profile "${11}" + + + + + + Profile name as seen under system profiles + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os windows --connection "$5" --remote "$7" --profile "$9" + + + + Connection name as seen in the VPN application + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --os windows --connection "$5" --remote "$7" --profile "$9" --name "${11}" + + - + -- cgit v1.2.3