From 69614d7d501811164010a83441ea807716903cf1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 20 Jul 2021 20:58:05 +0200 Subject: ipsec: T1210: add op-mode command for macOS and iOS profile generation generate ipsec mac-ios-profile remote will generate a matching IPSec profile which can be loaded on an iOS device. --- op-mode-definitions/generate-ipsec-profile.xml.in | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 op-mode-definitions/generate-ipsec-profile.xml.in (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 new file mode 100644 index 000000000..d1e5efd20 --- /dev/null +++ b/op-mode-definitions/generate-ipsec-profile.xml.in @@ -0,0 +1,76 @@ + + + + + + + Generate IPsec related configurations + + + + + Generate Apple iOS profile from IPsec connection profile + + vpn ipsec remote-access connection + + + + + + Remote address where the client will connect to + + <fqdn> + + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" + + + + Connection name as seen in the VPN application + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --name "$8" + + + + Profile name as seen under system profiles + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --name "$8" --profile "${10}" + + + + + + Profile name as seen under system profiles + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --profile "$8" + + + + Connection name as seen in the VPN application + + <name> + + + ${vyos_op_scripts_dir}/ikev2_profile_generator.py --connection "$4" --remote "$6" --profile "$8" --name "${10}" + + + + + + + + + + + + -- cgit v1.2.3