1
|
|
2
|
<openvpn>
|
3
|
<openvpn-server>
|
4
|
<vpnid>1</vpnid>
|
5
|
<mode>server_tls</mode>
|
6
|
<protocol>UDP4</protocol>
|
7
|
<dev_mode>tun</dev_mode>
|
8
|
<interface>wan</interface>
|
9
|
<ipaddr></ipaddr>
|
10
|
<local_port>1194</local_port>
|
11
|
<description><![CDATA[Home]]></description>
|
12
|
<custom_options>push "route 172.20.5.0 255.255.255.0";
|
13
|
push "client-nat dnat 172.20.5.0 255.255.255.0 10.0.5.0/24";</custom_options>
|
14
|
<tls>xxx</tls>
|
15
|
<tls_type>auth</tls_type>
|
16
|
<tlsauth_keydir>0</tlsauth_keydir>
|
17
|
<caref>5f44007cdc1eb</caref>
|
18
|
<crlref></crlref>
|
19
|
<certref>5f44015d30d71</certref>
|
20
|
<dh_length>2048</dh_length>
|
21
|
<ecdh_curve>none</ecdh_curve>
|
22
|
<cert_depth>1</cert_depth>
|
23
|
<crypto>AES-256-CBC</crypto>
|
24
|
<digest>SHA256</digest>
|
25
|
<engine>rdrand</engine>
|
26
|
<tunnel_network>172.20.0.0/24</tunnel_network>
|
27
|
<tunnel_networkv6></tunnel_networkv6>
|
28
|
<remote_network></remote_network>
|
29
|
<remote_networkv6></remote_networkv6>
|
30
|
<gwredir></gwredir>
|
31
|
<gwredir6></gwredir6>
|
32
|
<local_network>10.0.5.0/24</local_network>
|
33
|
<local_networkv6></local_networkv6>
|
34
|
<maxclients></maxclients>
|
35
|
<compression></compression>
|
36
|
<compression_push></compression_push>
|
37
|
<passtos></passtos>
|
38
|
<client2client></client2client>
|
39
|
<dynamic_ip>yes</dynamic_ip>
|
40
|
<topology>subnet</topology>
|
41
|
<serverbridge_dhcp></serverbridge_dhcp>
|
42
|
<serverbridge_interface>none</serverbridge_interface>
|
43
|
<serverbridge_routegateway></serverbridge_routegateway>
|
44
|
<serverbridge_dhcp_start></serverbridge_dhcp_start>
|
45
|
<serverbridge_dhcp_end></serverbridge_dhcp_end>
|
46
|
<dns_domain>home.arpa</dns_domain>
|
47
|
<dns_server1>172.20.0.1</dns_server1>
|
48
|
<dns_server2></dns_server2>
|
49
|
<dns_server3></dns_server3>
|
50
|
<dns_server4></dns_server4>
|
51
|
<username_as_common_name><![CDATA[disabled]]></username_as_common_name>
|
52
|
<udp_fast_io>yes</udp_fast_io>
|
53
|
<exit_notify>1</exit_notify>
|
54
|
<sndrcvbuf>524288</sndrcvbuf>
|
55
|
<netbios_enable></netbios_enable>
|
56
|
<netbios_ntype>0</netbios_ntype>
|
57
|
<netbios_scope></netbios_scope>
|
58
|
<create_gw>v4only</create_gw>
|
59
|
<verbosity_level>1</verbosity_level>
|
60
|
<ncp-ciphers>AES-256-CBC</ncp-ciphers>
|
61
|
<ncp_enable>enabled</ncp_enable>
|
62
|
<ping_method>keepalive</ping_method>
|
63
|
<keepalive_interval>10</keepalive_interval>
|
64
|
<keepalive_timeout>60</keepalive_timeout>
|
65
|
<ping_seconds>10</ping_seconds>
|
66
|
<ping_push></ping_push>
|
67
|
<ping_action>ping_restart</ping_action>
|
68
|
<ping_action_seconds>60</ping_action_seconds>
|
69
|
<ping_action_push></ping_action_push>
|
70
|
<inactive_seconds>0</inactive_seconds>
|
71
|
</openvpn-server>
|
72
|
</openvpn>
|