Browse Source

openvpn: enable LZO support by default for OpenSSL variant

User that don't control both OpenVPN client and server
might still need LZO support, so keep it enable by default for at least
OpenSSL variant.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
lilik-openwrt-22.03
Etienne Champetier 3 years ago
parent
commit
03c3c92496
3 changed files with 8 additions and 2 deletions
  1. +1
    -1
      net/openvpn/Config-openssl.in
  2. +1
    -1
      net/openvpn/Makefile
  3. +6
    -0
      net/openvpn/files/openvpn.config

+ 1
- 1
net/openvpn/Config-openssl.in View File

@ -2,7 +2,7 @@ if PACKAGE_openvpn-openssl
config OPENVPN_openssl_ENABLE_LZO
bool "Enable LZO compression support"
default n
default y
config OPENVPN_openssl_ENABLE_LZ4
bool "Enable LZ4 compression support"


+ 1
- 1
net/openvpn/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openvpn
PKG_VERSION:=2.5.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=\
https://build.openvpn.net/downloads/releases/ \


+ 6
- 0
net/openvpn/files/openvpn.config View File

@ -300,6 +300,9 @@ config openvpn sample_server
#
# LZ4 requires OpenVPN 2.4+ client and server
# option compress lz4
# LZO is available by default only in openvpn-openssl variant
# LZO is compatible with most OpenVPN versions
# option compress lzo
# Control how OpenVPN handles peers using compression
#
@ -492,6 +495,9 @@ config openvpn sample_client
#
# LZ4 requires OpenVPN 2.4+ on server and client
# option compress lz4
# LZO is available by default only in openvpn-openssl variant
# LZO is compatible with most OpenVPN versions
# option compress lzo
# Set log file verbosity.
option verb 3


Loading…
Cancel
Save