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