summaryrefslogtreecommitdiff
path: root/templates/vpn/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vpn/node.def')
-rw-r--r--templates/vpn/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/vpn/node.def b/templates/vpn/node.def
index 8adc512..a504791 100644
--- a/templates/vpn/node.def
+++ b/templates/vpn/node.def
@@ -1,9 +1,9 @@
priority: 900
help: Virtual Private Network (VPN)
-end:sudo /opt/vyatta/sbin/vpn-config.pl \
+end:sudo /opt/vyatta/sbin/vyatta-vti-config.pl || exit 1
+ sudo /opt/vyatta/sbin/vpn-config.pl \
--config_file='/etc/ipsec.conf' \
--secrets_file='/etc/ipsec.secrets' \
--init_script='/etc/init.d/ipsec' || exit 1
sudo /opt/vyatta/sbin/vyatta-update-l2tp.pl || exit 1
sudo /opt/vyatta/sbin/vyatta-update-pptp.pl || exit 1
- sudo /opt/vyatta/sbin/vyatta-vti-config.pl || exit 1