re6st-registry.conf.in 1.05 KB
Newer Older
1 2
port  {{ parameter_dict['port'] }}
4  {{ parameter_dict['ipv4'] }}
3
# 6  {{ parameter_dict['ipv6'] }}
4 5 6
db  {{ parameter_dict['db'] }}
ca  {{ parameter_dict['ca'] }}
key  {{ parameter_dict['key'] }}
7
dh   {{ parameter_dict['dh'] }}
8 9 10 11 12 13
{% if parameter_dict.get('ipv4-net', '') -%}
ipv4 {{ parameter_dict['ipv4-net'] }}
{% endif -%}
client-count {{ parameter_dict['client-count'] }}
tunnel-refresh {{ parameter_dict['tunnel-refresh'] }}
hello {{ parameter_dict['hello'] }}
14 15 16 17
mailhost {{ parameter_dict['mailhost'] }}
prefix-length  {{ parameter_dict['prefix-length'] }}
anonymous-prefix-length  {{ parameter_dict['anonymous-prefix-length'] }}
logfile  {{ parameter_dict['logfile'] }}
18 19 20 21 22 23 24 25 26 27 28
verbose  {{ parameter_dict['verbose'] }}
run {{ parameter_dict['run-dir'] }}
{% if parameter_dict.get('min-protocol', '-1') != '-1' -%}
min-protocol {{ parameter_dict['min-protocol'] }}
{% endif -%}
{% if parameter_dict.get('encrypt', 'False') in ('true', 'True', '1') -%}
encrypt
{% endif -%}
{% if parameter_dict.get('max-clients') != '0' -%}
max-clients {{ parameter_dict['max-clients'] }}
{% endif -%}