1 2 3 4 5 6 7
{{delim_ipsec_l2tp_begin}} {% if ipsec_l2tp_auth_mode == 'pre-shared-secret' %} {{outside_addr}} %any : PSK "{{ipsec_l2tp_secret}}" {% elif ipsec_l2tp_auth_mode == 'x509' %} : RSA {{server_key_file_copied}} {% endif%} {{delim_ipsec_l2tp_end}}