summaryrefslogtreecommitdiff
path: root/templates/vpn
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2018-08-19 18:49:41 +0200
committerRunar Borge <runar@borge.nu>2018-08-19 18:49:41 +0200
commit3b09d829a524dceee31c88f71e49ab93b1078961 (patch)
tree577939e7191df5b0cbd6215853e3eba0f674e653 /templates/vpn
parente6648cebe1a19f3becf1553b45ec2b9337332e65 (diff)
downloadvyatta-cfg-vpn-3b09d829a524dceee31c88f71e49ab93b1078961.tar.gz
vyatta-cfg-vpn-3b09d829a524dceee31c88f71e49ab93b1078961.zip
T787: Make sure dmvpn config is generated after ipsec config. this one needs more testing to test for breakages on ipsec
Diffstat (limited to 'templates/vpn')
-rw-r--r--templates/vpn/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/vpn/node.def b/templates/vpn/node.def
index 1daeede..bc3476a 100644
--- a/templates/vpn/node.def
+++ b/templates/vpn/node.def
@@ -2,13 +2,13 @@ priority: 900
help: Virtual Private Network (VPN)
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/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/dmvpn-config.pl \
--config_file='/etc/swanctl/swanctl.conf' \
--init_script='/etc/init.d/ipsec' || exit 1
sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --set_ipsec || 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