summaryrefslogtreecommitdiff
path: root/templates/vpn/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-08-05 01:42:09 +0200
committerDaniil Baturin <daniil@baturin.org>2018-08-05 01:42:09 +0200
commit9e5bbf83dfd8698488baadc3e6d74df6924908b6 (patch)
tree9b880b9b92d499a844260e08b213a1f5dd8cd8d4 /templates/vpn/node.def
parent60fc8a28827c55050ead78371fbefd7566df6287 (diff)
downloadvyatta-cfg-vpn-9e5bbf83dfd8698488baadc3e6d74df6924908b6.tar.gz
vyatta-cfg-vpn-9e5bbf83dfd8698488baadc3e6d74df6924908b6.zip
T71: call the ipsec-settings.py script in VPN.
Diffstat (limited to 'templates/vpn/node.def')
-rw-r--r--templates/vpn/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/vpn/node.def b/templates/vpn/node.def
index ae2d6a9..1daeede 100644
--- a/templates/vpn/node.def
+++ b/templates/vpn/node.def
@@ -1,6 +1,7 @@
priority: 900
help: Virtual Private Network (VPN)
-end:sudo /opt/vyatta/sbin/vyatta-vti-config.pl || exit 1
+end: sudo ${vyos_conf_scripts_dir}/ipsec-settings.py || exit 1
+ sudo /opt/vyatta/sbin/vyatta-vti-config.pl || exit 1
sudo /opt/vyatta/sbin/dmvpn-config.pl \
--config_file='/etc/swanctl/swanctl.conf' \
--init_script='/etc/init.d/ipsec' || exit 1