FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
386 views 0 comments
by

Device: RUTX11
Firmware: Latest (RUTX_R_00.02.01.1_single.bin)
Factory reset: Done

Hello,

the RUTX11 Web GUI for OpenVPN client connections has a toggle-switch for "LZO".

Disabled: option comp_lzo 'no'   is written to /etc/config/openvpn
Enabled: option comp_lzo 'yes'  is written to /etc/config/openvpn

This is technically wrong, because the comp-lzo directive has four states:

  1. on
  2. off
  3. adaptive   (it is decided per packet/stream/whatever, if comp-lzo is used or not)
  4. not set (= not present in config at all)
The difference between 2.) ("no") and 4.) ("not present in config at all") is (AFAIK), that if OpenVPN detects option "comp-lzo" (regardless of the actual setting), one byte is automatically reserved for LZO protocol information. This leads to wrong MAC address information (at least in TAP mode) on the server, because the header is shifted by one byte on the client, but not on the server.
On RUT950, LZO had also a checkbox, but different behavior:
- Checked: comp-lzo yes ("1.)")
- Unchecked: no comp-lzo directive in config at all ("4.)")
Workaround via SSH:
uci delete openvpn.xxxxx.comp_lzo
uci commit
Where xxxx is the name of the connection.
It would be nice if we could get a dropdown-list for all available states of comp-lzo or could get removed the toggle switch at all and tell users to put their favorite comp-lzo behavior in "extra" options.
Kind regards,
Tobi

1 Answer

0 votes
by anonymous

Hello Tobi

 

Thanks for your inquiry in Teltonika forums. We will take note of your comments and add it to the list of planned features.