Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 19714

Beginner Basics • Re: use CLI to change /ip service

$
0
0
One tip, you can use <tab> at the command line to help figure out commands at the terminal. And the <F1> key will show help on the attributes (sometimes).

But clear the winbox allowed addresses, that is just
Code:
/ip service set winbox address="" disabled=no
And you could repeat that pattern for the other services to disable e.g.
Code:
/ip service set ssh disabled=yes/ip service set telnet disabled=yes/ip service set ftp disabled=yes
(and continue with rest)

A more sophisticated approach can use "find" operation to disable everything EXCEPT winbox in one command:
Code:
/ip service set [find name!="winbox] disabled=yes

Statistics: Posted by Amm0 — Fri Jan 19, 2024 2:03 pm



Viewing all articles
Browse latest Browse all 19714

Trending Articles