blob: 43b5fe0d2c590f65f6964261b174d40cc902a698 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Created by VyOS - manual changes will be overwritten
{% if include_ipsec_secrets is defined %}
include {{ include_ipsec_secrets }}
{% endif %}
{% if delim_ipsec_l2tp_begin is defined %}
{{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}}
{% endif %}
|