|
@@ -188,6 +188,7 @@ ifconfig-pool-persist ipp.txt
|
188
|
188
|
# or bridge the TUN/TAP interface to the internet
|
189
|
189
|
# in order for this to work properly).
|
190
|
190
|
;push "redirect-gateway def1 bypass-dhcp"
|
|
191
|
+;push "dhcp-option DNS 8.8.8.8"
|
191
|
192
|
push "redirect-gateway def1"
|
192
|
193
|
push "dhcp-option DNS 10.8.0.1"
|
193
|
194
|
|
|
@@ -298,9 +299,21 @@ status openvpn-status.log
|
298
|
299
|
# 4 is reasonable for general usage
|
299
|
300
|
# 5 and 6 can help to debug connection problems
|
300
|
301
|
# 9 is extremely verbose
|
301
|
|
-verb 3
|
|
302
|
+verb {{ openvpn_verb }}
|
302
|
303
|
|
303
|
304
|
# Silence repeating messages. At most 20
|
304
|
305
|
# sequential messages of the same message
|
305
|
306
|
# category will be output to the log.
|
306
|
307
|
;mute 20
|
|
308
|
+
|
|
309
|
+# Openvpn changes length of network packets
|
|
310
|
+# in a way which depends on cipher and hash-sum
|
|
311
|
+# algorithms. This can be used for fingerprinting.
|
|
312
|
+# Mask your settings by using a lower mtu.
|
|
313
|
+# Check your settings here: witch.valdikss.org.ru
|
|
314
|
+tun-mtu {{ openvpn_mtu }}
|
|
315
|
+
|
|
316
|
+# Set TLS settings
|
|
317
|
+# Only for openvpn 2.3.3 and >2.3.4
|
|
318
|
+{{ openvpn_tls_version_min }}
|
|
319
|
+{{ openvpn_tls_cipher }}
|