Community discussions

MikroTik App

Search found 7 matches

by max232
Sat Jan 15, 2022 2:03 pm
Forum: Scripting
Topic: system ssh [SOLVED]
Replies: 3
Views: 3487

Re: system ssh [SOLVED]

for ssh connections via script, you need to use this command: :system ssh-exec user=remote address=<IP> command="{<cmds>}" thanx it's working , but how can i use the password for remote user ? For example: /system ssh-exec address=IP user=1 p=22 "/system reboot;"; You must use c...
by max232
Mon Jan 03, 2022 2:51 pm
Forum: Scripting
Topic: Built in function library
Replies: 132
Views: 134782

Re: Built in function library

local a ( 10 / 3 ); log info $a
Please make a division)
the result should be of type 3.33333333
Not an integer: 3

Writing / reading an array to a file is also necessary.
by max232
Mon Jan 03, 2022 1:28 pm
Forum: Scripting
Topic: 7.1.1 firewall connection
Replies: 4
Views: 2528

Re: 7.1.1 firewall connection

Try this, /ip firewall connection print count-only interval=1 where dst-address~":1701" || src-address~":1701" https://ibb.co/qxXwR1d I've tried many different options. The problem is in RouterOS /ip firewall connection print count-only interval=1 where dst-address="xxx.xxx...
by max232
Mon Jan 03, 2022 1:11 am
Forum: Scripting
Topic: 7.1.1 firewall connection
Replies: 4
Views: 2528

Re: 7.1.1 firewall connection

Can you elaborate more on how you use the command, and maybe provide the Script or Scheduler you use it in ? I quickly tested the command in a script without error on both 6.49.1 and 7.1.1 ip firewall connection print count-only where dst-address~":1701" For instance. I have multiple rout...
by max232
Sun Jan 02, 2022 9:55 pm
Forum: Scripting
Topic: 7.1.1 firewall connection
Replies: 4
Views: 2528

7.1.1 firewall connection

regularly command: ip firewall connection print count-only results in an error: script error: no such item (4) I've tried isolating the command with: : do {} on-error = {) It doesn't help either. The problem has been going on in my memory since 2016. I'd like to solve it very much. Maybe someone kno...
by max232
Sat Dec 18, 2021 12:18 am
Forum: RouterOS beta
Topic: ros v7 beta4 recursive route
Replies: 7
Views: 5593

Re: ros v7 beta4 recursive route

ros v7.1 in ipv4 the same problem with recursive routing.
Everything works in ros6.
How to solve?
by max232
Fri Apr 24, 2020 11:34 pm
Forum: General
Topic: CCR BUG: All ports flap simultaneosly with mangle route mark
Replies: 21
Views: 10249

Re: CCR BUG: All ports flap simultaneosly with mangle route mark

ccr1016-12S-1S+ S-RJ01 - 5 pieces mangle rules are 60 pieces rules nat 27 1 pppoe client connection 9 l2tp client connections Versions 6.45.8, 6.46.5, 6.47beta60. ALL interfaces fall and after 1-2 seconds rise. 2 to 6 times per day CPU utilization 1-2% 6 months in no way get rid of interface flappin...