APi or MQTT Trigger Firewall Access Rules : enable or disable Action / tick box

Hi,

With a Streamdeck panel and/or Centralcontrol.io and/or Bitfocus Companion ; would it be possible to activate or desactivate Firewall rules already set in the local Peplink Interface ?

Why do I ask for this need ?

In audiovisual environments, we sometimes need to receive video streams from outside, either via AviWest / Haivision, LiveU or SRT.
The idea is to have a button on a panel such as Streamdeck or X-Keys, which would activate the necessary ports for a time,When transmission is complete, the ports will be closed again ↔ the Action box in Firewall > Access Rules will be unchecked.

For those of you who know a thing or two about audiovisual control: with a panel, we could create a macro on a button that would open the port we need on the router, and from this same action, switch the source to the mixer and/or multiview.

What your thoughts ?

Max.

Hi There!

Appreciate your suggestion here - it has some interesting aspects to it.

While I agree it would be useful to “Send a TCP command and do something on Peplink” it does open up a whole can of worms and security concerns!

The suggested outcome could possibly be done via API control instead.

Have you looked into what you can do with Peplink API?
Peplink-Router-API-Documentation-for-Firmware-8.1.1.pdf
InControl 2 API Documentation - Peplink

There might be someone already in the community that’s done what you’re asking for - just wanted you to consider above approach.

Cheers

Hi,

In fact, we’ve already studied the documentation on APi.
The desired functions do not appear.

Centralcontrol.io, Bitfocus Companion or Streamdek with the Ninja plugin can handle APi requests.

The idea is to create firewall rules manually in the Peplink interface… and use the APi only to activate and/or deactivate them.

That’s why I’m relying on the Peplink community and developers to come up with a suitable solution.

Cheers.