summaryrefslogtreecommitdiff
path: root/templates/vpn/node.def
blob: d9aaa0c2e8d2d397c693aa2d5e8e4b672d36eab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
priority: 900
help: Configure Virtual Private Network (VPN)
end:expression: "sudo /opt/vyatta/sbin/vpn-config.pl \
              --config_file='/etc/ipsec.conf' \
              --secrets_file='/etc/ipsec.secrets' \
              --init_script='/etc/init.d/ipsec' && \
      if [ -x /opt/vyatta/sbin/vyatta-update-l2tp.pl ]; then \
        sudo /opt/vyatta/sbin/vyatta-update-l2tp.pl; \
      fi && \
      if [ -x /opt/vyatta/sbin/vyatta-update-pptp.pl ]; then \
        sudo /opt/vyatta/sbin/vyatta-update-pptp.pl; \
      fi"