After input command in mongosh:
db.servers.updateOne({“name” : “mtSrv”}, {$set: { “lzo_compression” : “adaptive”}})
and reboot server in config file tmp/pritunl no parametr with lzo-comp.
This was done. But I encountered the following problem: in the web interface it is no longer possible to save changes to server settings. This happens after the command: db.servers.updateOne({“name” : “mtSrv”}, {$set: { “lzo_compression” : “adaptive”}})
Screen bottom i try change name server and press ‘Save’:
That option was removed and the type filtering that was added in the pritunl-web process will only accept a boolean when saving from the web console. The only way to change it would be to modify the code.
Couldn’t find filtering and rewrite it. But I did it differently:
if not self.server.lzo_compression: and self.server.name == 'mtSrv':
pass
Now, by turning off LZO via mongosh and having a specific server name, we will get a fully working option for connecting Mikrotik routers and a working web interface for server settings.