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