summaryrefslogtreecommitdiff
path: root/templates/vpn/node.def
blob: 311f59d284cced1b3e85a9319419fcdf0f0b232b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 ${vyos_conf_scripts_dir}/ipsec-settings.py || 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