Page 1 of 1
Enable compression lz4-v2 instead of comp-lzo
Posted: Thu May 16, 2019 2:39 pm
by mrjohn
I want to enable OpenVPN compression lz4-v2
in server configuration file(server.ovpn) I have:
Code: Select all
;comp-lzo
compress lz4-v2
push "compress lz4-v2"
in client.ovpn,instead of
i put
is that the correct configuration?
thanks
Re: Enable compression lz4-v2 instead of comp-lzo
Posted: Thu May 16, 2019 3:10 pm
by TinCanTech
See --push in the manual
Re: Enable compression lz4-v2 instead of comp-lzo
Posted: Thu May 16, 2019 3:31 pm
by mrjohn
Hi,
I read this: - -push option Push a config file option back to the client for remote execution...
that's what I put in client config or it is an argument for openvpn-gui.exe .... can you give me a clue?
thanks
Re: Enable compression lz4-v2 instead of comp-lzo
Posted: Thu May 16, 2019 5:12 pm
by TinCanTech
mrjohn wrote: ↑Thu May 16, 2019 3:31 pm
can you give me a clue?
TinCanTech wrote: ↑Thu May 16, 2019 3:10 pm
See --push in the manual
mrjohn wrote: ↑Thu May 16, 2019 3:31 pm
Push a config file option back to the client for remote execution
mrjohn wrote: ↑Thu May 16, 2019 3:31 pm
that's what I put in client config
The Manual wrote:
The client must specify --pull in its config file
Re: Enable compression lz4-v2 instead of comp-lzo
Posted: Fri May 17, 2019 5:47 am
by mrjohn
I put in client config file
but got this error
Options error: Unrecognized option or missing or extra parameter(s) in config.ovpn:123: pull (2.4.7)
found nothing on manual about enabling lz4-v2 on client side
thanks
Re: Enable compression lz4-v2 instead of comp-lzo
Posted: Sun May 19, 2019 9:13 am
by mrjohn
seems that for v2.4+ clients no compression specific config required at the client end as long the above config is 'pushable'
but on client side I got
WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
In server config I have one line commented:
# comp-lzo
Re: Enable compression lz4-v2 instead of comp-lzo
Posted: Sun May 19, 2019 11:17 am
by TinCanTech
mrjohn wrote: ↑Sun May 19, 2019 9:13 am
WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
You can safely ignore that message .. it is a bit of a bug.