aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/openvpn/files/openvpn.config
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/openvpn/files/openvpn.config')
-rw-r--r--package/network/services/openvpn/files/openvpn.config11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/network/services/openvpn/files/openvpn.config b/package/network/services/openvpn/files/openvpn.config
index 3e053c36a9..1fd846f558 100644
--- a/package/network/services/openvpn/files/openvpn.config
+++ b/package/network/services/openvpn/files/openvpn.config
@@ -241,7 +241,11 @@ config openvpn sample_server
# Enable compression on the VPN link.
# If you enable it here, you must also
# enable it in the client config file.
- option comp_lzo yes
+ # LZ4 requires OpenVPN 2.4+ client and server
+# option compress lz4
+ # LZO is compatible with most OpenVPN versions
+ # (set "compress lzo" on 2.4+ clients, and "comp-lzo yes" on older clients)
+ option compress lzo
# The maximum number of concurrently connected
# clients we want to allow.
@@ -391,7 +395,10 @@ config openvpn sample_client
# Enable compression on the VPN link.
# Don't enable this unless it is also
# enabled in the server config file.
- option comp_lzo yes
+ # LZ4 requires OpenVPN 2.4+ on server and client
+# option compress lz4
+ # LZO is compatible with most OpenVPN versions
+ option compress lzo
# Set log file verbosity.
option verb 3