packages icon indicating copy to clipboard operation
packages copied to clipboard

luci-app-openvpn : comp-lzo not working, compress lzo needed

Open adverserath opened this issue 8 years ago • 4 comments

I may have used far to many hours getting my router into a vpn. The UI for luci-app-openvpn only allows comp-lzo flags to be set. When the server is started up the config writes out into /var/etc/xxxx.conf if there is a flag for comp-lzo in the openvpn config (etc/config/openvpn) file this does not get reflected in the used config file. My fix was to manually add "compress lzo" into etc/config/openvpn, which did write out into the used config file. The UI doesnt have an option for the compress flag, as such no values are shown.

adverserath avatar Aug 13 '18 11:08 adverserath

Thank you for submitting this workaround, I also spent too much time getting this to work. Even though it would be nice to be able to set option "compress" from Luci, I guess the real question is why the option "comp-lzo" is not passed to the openvpn-service.

gabbe avatar Sep 03 '18 08:09 gabbe

if there is a flag for comp-lzo in the openvpn config (etc/config/openvpn) file this does not get reflected in the used config file

Yes, comp-lzo is deprecated in OpenVPN and removed from OpenWrt https://github.com/openwrt/openwrt/commit/89b8ba96b404d2e412d5573e25348287255671dd#diff-37e75a0201711d64802dc863bc6019f5

dartraiden avatar Sep 23 '18 21:09 dartraiden

Neither OpenVPN or luci-app-openvpn are in this repo, closing

diizzyy avatar Mar 28 '19 07:03 diizzyy

For archive purposes, the issue was fixed by openwrt/openwrt@3850b41f01925a7eddc24033ed155503c1ad2112 and backported to openwrt-18.06 branch.

yousong avatar Mar 28 '19 07:03 yousong