By setting Options.Server.MIN_STREAMING_PORT to some value (in this example 30000) you turn it on.
Its discussed here https://medium.com/zmninja/multi-port-s ... 836a336c93
So you can configure your web server (Apache/NGINX) to listen to all those ports but that's a bit of a pain and if you are constantly adding and deleting monitors the Monitor ID (MID) can quickly go beyond the range of your listened to ports.
So I found this iptables trick to route ports to the single listening port on the server and mult-port works.
The below line
Code: Select all
iptables -t nat -A PREROUTING -p tcp --dport 30000:30200 -j REDIRECT --to-ports 443
Use
Code: Select all
iptables -L -n -t nat --line-number
Don't forget to save the rules according to your distro's method so that it's persistent after reboot.
Tested with zm 1.33.4 but should work for 1.32.x
Works with zmninja
I'm running this on UB18.04 LEMP stack.