Start a new topic
Not Taken

winbox plugin

I have to administer Mikrotik firewalls/routers for clients and would like to integrate this with Royal TS.


I see a Mikrotik plugin for Remote Desktop Manager so they must offer an API for connectivity.


Is this forthcoming?


2 people like this idea

In this case you should try to establish a connection using a manual port forwarding (ssh tunnel) using PuTTY, for example:

https://docs.royalapps.com/r2021/royalts/reference/connections/terminal-putty.html#-tunnels


Please verify if it's working through the PuTTY tunnel first. Maybe Winbox doesn't work using a single forwarded port.


Since I'm not really familiar with Winbox, maybe someone here in this thread can provide help or guidance troubleshooting the issue.

Hi Stefan,

Thanks for your quick response, i did not make it clear but it is perfectly working via the direct approach.

It is simply not working via the gateway or atleast it connects and available but disconnects after a few seconds.

Are there any logs i can provide?





Hi Gertjan,


I think you need to figure out why it disconnects after a few seconds. I'm not really familiar with the product but since Royal TS is simply calling the executable with arguments, it should be straightforward to get it working outside of Royal TS. Once this works, I'm happy to help with the external application configuration.


Regards,
Stefan

Hi,

Im trying this configuration proposed by Stefan (Winbox + Gateway config) but it disconnects after a new seconds. I would love to get this working. Is it still possible?

Yes, but it seems to pick a random (often wrong) winbox window to embed in the tab.

:(

Has anyone been able to get WinBox to open in the tab (embedded)?  In particular, if you have multiple WinBox connections running?

I'm glad it's working for you. I've discussed your proposal and putting the computer name and port on the main page might even be more confusing for users - as this is only needed when working with a secure gateway. Since this is a more advanced scenario with special requirements we decided to put this also in the "Advanced" section. Btw, our docs explain how to make use of the tokens: 

https://content.royalapplications.com/Help/RoyalTS/V5/index.html?reference_externalapp_advanced.htm


Regards,
Stefan

Thanks! That works great! It is not very intuitive compared to configuring the other plugins though - maybe the Computer Name and Port fields could be included in the first tab?


image


Assuming that you can specify computer name/ip and port in the arguments, the configuration would look like this:


Let me know if this helps.


1 person likes this

But how does the Secure Gateway know where to redirect the connection?


image


Hi Nathan,


if the app supports specifying a custom port, it should also work with the secure gateway. Can you share some screenshots how you implemented your external app?


Thanks,
Stefan

It'd be an awesome plugin! As an external application it does not work with the Secure Gateway/jump box functionality as far as I could work out...Would be great for it to be integrated and working with Secure Gateway.

Since we just had a support ticket in this regard, here's the setup for winbox using External Application:


Notes: 

  • the first argument is the IP address you want to connect to
  • the username and password needs to be configured in the Credentials section
  • also make sure the path to the winbox.exe is correct in the main page and in the process tracking


Regards,
Stefan

Winbox for Mikrotik management would be a nice plugin

Hi Michelle,


there's no such plugin for Royal TS at the moment and we also don't have something on the roadmap short- or mid-term. I'm not really familiar with their products but if they offer a web interface you can integrate it with Royal TS easily using the web page connection. If they have a desktop application for management, you could try to integrate it using the external application connection.


Regards,
Stefan

Login or Signup to post a comment