summaryrefslogtreecommitdiff
path: root/templates/vpn/node.def
blob: 27c9eb7b2b913be9bfaa977df064e3289367483e (plain)
1
2
3
4
5
6
7
8
9
10
11
help: "Configure VPN"
end: "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"