Configure Winbox available from adresses via ssh

I have acess to remote router via ssh, but I want to access via winbox but router refuses connection because there are some allowed addresses configured and I am not fron that range now.

Trying:


/ip/service/set winbox address=<adresses here>

Router answer is:


failure: this is configured elsewhere

ROS 7.19.1

Please help if anyone knows how to

UPD Okay it may be managed by CAP

Change the command to

/ip service 
set [find name="winbox" !dynamic] address=<adresses here>

Recent versions of RouterOS include the dynamic entries of the services in the list for all current connections made to the services. Your command might catch a dynamic entry, and tries to change its address property, which is not allowed.

Modify the command to act only on entries without the D (dynamic) flag and it should work.

Use ssh port forwarding. It's the -L option in the cli client. It's also available in most guis.

You'll have to set /ip ssh port forwarding to local or both.

Oh thanks a lot! That solved my problem