Fresh pull from upstream
[librecmc/librecmc.git] / package / network / services / openvpn / files / openvpn.config
index 3e053c36a9924bcecdc2b61c2f98e04d149f4640..1fd846f558f1b113089095982e7944cef12100a1 100644 (file)
@@ -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