From af5e137db302ab66ab67146bbf5c1c7a7846c32e Mon Sep 17 00:00:00 2001 From: Adrien Reslinger Date: Thu, 1 Sep 2022 01:11:03 +0200 Subject: [PATCH] Update template --- templates/etc/openvpn/server/config.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/etc/openvpn/server/config.conf.j2 b/templates/etc/openvpn/server/config.conf.j2 index ef80fcb..0eb027f 100644 --- a/templates/etc/openvpn/server/config.conf.j2 +++ b/templates/etc/openvpn/server/config.conf.j2 @@ -1,6 +1,11 @@ port {{ item.port }} {% if item.proto == "udp" %} proto {{ item.proto }} +fast-io +sndbuf 512000 +rcvbuf 512000 +push "sndbuf 512000" +push "rcvbuf 512000" {% elif item.proto == "tcp" %} proto tcp-server {% endif %}