/ip cloud> p;rint
ddns-enabled: no
ddns-update-interval: none
update-time: no
{
:if ( [/ping 8.8.8.8 interface= "ETHERT 2" count=6 ] = 0) do={/ip route disable [find comment=ISP2]}
:if ( [/ping 8.8.8.8 interface= "ETHERT 2" count=6 ] != 0) do={/ip route enable [find comment=ISP2]}
}
At least, you have learned something after that. :-)Well yeah, it seems that I have no other option but to build a test environment for this. And if it turns out that DNS rr is not utilized for failover, then it will have been a waste of time. :-(
Can we have a scheduler restart/shutdown then?Write variables in scheduler startup script is a better option than writing variables in l7 rules and other crazy stuff.
You can use print in a script by adding without-paging and as stated using numbers is not the best way to do this.You should never ever use index numbers in scripts. These are just temporary and refer to the last print.
To remove all certificates use this:
Code: Select all/certificate remove [ find ];
Till .*$It's like saying that achieving world peace is possible, the problem is just finding how to make all people like each other.The short answer is yes, it is possible. The problem is making a regex that covers half the internet...
Easier append array: viewtopic.php?p=819886#p728850Hi all,
Let me also share my scripts collection with you - maybe you will find few of them helpful or useful as they are to me;)
https://github.com/gbudny93/RouterOS_Useful_Scripts
Greg
And it gone. Hoping that mobile device friendly mode will be back soon!You are right, it does resize badly on small displays. We will work on that.
:if (:put ([/ip firewall
/ip firewall connection remove [find where dst-address="15.15.15.1:9987"]
First looks great. Many thanks for the mobile view!You are right, it does resize badly on small displays. We will work on that.
Do you have by any chance spaces or special characters in the names of the lists?Hi
i tryed the different scripts but get on all lists "Address list <name of the list> update failed"
CCR1009 v6.46.7
What could be wrong?
-faxxe
/ip ipsec policy
move *ffffff destination=0
add action=none dst-address=168.192.88.0/24 src-address=0.0.0.0/0 place-before=1
{
:local hash ([/certificate scep-server otp generate minutes-valid=0 as-value]->"password");
/certificate scep-server otp remove [:find $hash];
:local pwd [:pick $hash 0 8];
:put $pwd;
}
Clinging it? ;-)I think MK should offer mesh cages for extra cooling. Normis could do it with a 3D printer while he is sleeping!!
I think that it is only the checking on Mikrotiks side that is disabled. Used it before on IKEv2 connections of which I had no certificates installed.Plain text / no encryption?Else go the SMTP/25 way.
Did you read the thread?i have same problem with surfshark ikev2 , every few second killing ikev.. the getting new 1
hope mikrotik fix it.
:set $fileName [/file get $fileCounter name]; :put $fileName;
:foreach i in=[/ip dns cache find name~("facebook"|"youtube") type="A"]