Enable compression lz4-v2 instead of comp-lzo

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
mrjohn
OpenVpn Newbie
Posts: 18
Joined: Thu Apr 04, 2019 7:24 am

Enable compression lz4-v2 instead of comp-lzo

Post by mrjohn » Thu May 16, 2019 2:39 pm

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

Code: Select all

comp-lzo
i put

Code: Select all

push "compress lz4-v2"
is that the correct configuration?

thanks

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Enable compression lz4-v2 instead of comp-lzo

Post by TinCanTech » Thu May 16, 2019 3:10 pm

See --push in the manual

mrjohn
OpenVpn Newbie
Posts: 18
Joined: Thu Apr 04, 2019 7:24 am

Re: Enable compression lz4-v2 instead of comp-lzo

Post by mrjohn » Thu May 16, 2019 3:31 pm

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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Enable compression lz4-v2 instead of comp-lzo

Post by TinCanTech » Thu May 16, 2019 5:12 pm

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
:roll:

mrjohn
OpenVpn Newbie
Posts: 18
Joined: Thu Apr 04, 2019 7:24 am

Re: Enable compression lz4-v2 instead of comp-lzo

Post by mrjohn » Fri May 17, 2019 5:47 am

I put in client config file

Code: Select all

--pull compress lz4-v2

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

mrjohn
OpenVpn Newbie
Posts: 18
Joined: Thu Apr 04, 2019 7:24 am

Re: Enable compression lz4-v2 instead of comp-lzo

Post by mrjohn » Sun May 19, 2019 9:13 am

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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Enable compression lz4-v2 instead of comp-lzo

Post by TinCanTech » Sun May 19, 2019 11:17 am

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.

Post Reply