Sfoglia il codice sorgente

update openvpn server config

Change default network buffer size
Should increase tcp tunnel speed for openvpn < 2.3.9
https://community.openvpn.net/openvpn/ticket/461
Filipp Frizzy 9 anni fa
parent
commit
309bdc7f60
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8
    0
      roles/vpn/templates/etc_openvpn_server.conf.j2

+ 8
- 0
roles/vpn/templates/etc_openvpn_server.conf.j2 Vedi File

@@ -315,3 +315,11 @@ tun-mtu {{ openvpn_mtu }}
315 315
 # Only for openvpn 2.3.3 and >2.3.4
316 316
 {{ openvpn_tls_version_min }}
317 317
 {{ openvpn_tls_cipher }}
318
+
319
+# Change default network buffer size
320
+# Should increase tcp tunnel speed for openvpn < 2.3.9
321
+# https://community.openvpn.net/openvpn/ticket/461
322
+sndbuf 0
323
+rcvbuf 0
324
+push "sndbuf 393216"
325
+push "rcvbuf 393216"

Loading…
Annulla
Salva