summaryrefslogtreecommitdiff
path: root/templates/vpn/node.def
blob: cfb0e6460ea3a5951f9bc3590a1f39b866bbf202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
priority: 900
help: Virtual Private Network (VPN)
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/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 ${vyos_conf_scripts_dir}/ipsec-settings.py || exit 1
#        sudo /opt/vyatta/sbin/vyatta-update-l2tp.pl || exit 1