Community discussions

MikroTik App

Search found 10 matches

by hughrobbie
Fri May 26, 2023 10:20 am
Forum: General
Topic: CCR2216 v7 route table crash
Replies: 1
Views: 1005

CCR2216 v7 route table crash

Hi Guys, I wanted to find out if anyone else has had a similar issue on their CCR2216 that does BGP and OSPF: Issue: From boot after a few hours the route table crashes/hangs (does not update or remove routes), we can't view the route table in Winbox or terminal (hangs in the terminal when you run a...
by hughrobbie
Thu Nov 24, 2022 4:01 pm
Forum: Scripting
Topic: Script for recursive failover based on packet loss
Replies: 7
Views: 3401

Re: Script for recursive failover based on packet loss

You could always do something like this: :if ([/ping XXX.XXX.XXX.XXX count=100] = 0) do={ you can change it to greater than or less than, so if you send 100 pings and the returned packets are 95 or less you can do something. I think i saw something about ROS v7 having a new netwatch tool that can d...
by hughrobbie
Thu Nov 24, 2022 3:57 pm
Forum: Scripting
Topic: Script for recursive failover based on packet loss
Replies: 7
Views: 3401

Re: Script for recursive failover based on packet loss

You could always do something like this:
:if ([/ping XXX.XXX.XXX.XXX count=100] = 0) do={
you can change it to greater than or less than, so if you send 100 pings and the returned packets are 95 or less you can do something.
by hughrobbie
Thu Sep 23, 2021 9:37 am
Forum: General
Topic: Outbound DDOS firewall rules
Replies: 3
Views: 1325

Re: Outbound DDOS firewall rules

I saw this on the mikrotik help: /ip firewall address-list add list=ddos-attackers add list=ddos-target /ip firewall filter add action=return chain=detect-ddos dst-limit=32,32,src-and-dst-addresses/10s add action=add-dst-to-address-list address-list=ddos-target address-list-timeout=10m chain=detect-...
by hughrobbie
Thu Sep 23, 2021 9:05 am
Forum: General
Topic: Outbound DDOS firewall rules
Replies: 3
Views: 1325

Outbound DDOS firewall rules

Hi Guys, I am getting lots of outbound Sightline reports of TCP and UDP attacks leaving our network, I would like to know if anyone has any firewall rules they can share that they have used to stop outward DDOS attacks, my plan is to put the firewall rules on each PPPOE concentration device, to prev...
by hughrobbie
Tue Jun 15, 2021 9:48 am
Forum: Scripting
Topic: SFP monitor array
Replies: 2
Views: 2717

Re: SFP monitor array

Thanks for this, I also found I had a bad line of script on the monitor part, had to change it to: :set $sfpmonitor [/interface ethernet monitor "$i" once as-value]; and all seems to be working now, thanks again for the assistance. I do not have any SFP, so can not test it, but you do miss...
by hughrobbie
Wed Jun 02, 2021 4:42 pm
Forum: Scripting
Topic: SFP monitor array
Replies: 2
Views: 2717

SFP monitor array

Hi Guys, quick question, I'm trying to get an array script to monitor my sfp signals, if any interface defined in my array is higher than -16 to log info as a test, however, I cant seem to get it working and my syntax seems correct, perhaps someone can guide me in the right direction? Below is my co...
by hughrobbie
Tue Apr 17, 2018 5:28 pm
Forum: Scripting
Topic: MT DynDNS to bind to one WAN only?
Replies: 2
Views: 1787

Re: MT DynDNS to bind to one WAN only?

If you would like to update your Mikroik Cloud DNS from 1 WAN, if you have 2 wans, try something like this: /ip firewall mangle add action=mark-packet chain=prerouting new-packet-mark=DDNS \ passthrough=yes protocol=udp src-port=15252 add action=mark-routing chain=prerouting new-routing-mark=MTDNSOU...
by hughrobbie
Wed Jan 10, 2018 3:26 pm
Forum: Scripting
Topic: remote ssh via script
Replies: 53
Views: 56904

Re: remote ssh via script

If you have a windows machine, you can use plink.exe and create a SSH batch file to run your script on your Mikrotik and schedule the batch file with windows scheduler.
If anybody needs help with this, let me know. :)
by hughrobbie
Wed Jul 08, 2015 1:59 pm
Forum: Beginner Basics
Topic: RouterBOARD cAP 2n HOTSPOT issue
Replies: 1
Views: 1026

RouterBOARD cAP 2n HOTSPOT issue

Hi guys, I am currently having an issue with the RouterBOARD cAP 2n. :? When I configure a Hotspot and upload our custom HTML, i always land on the mikrotik default landing page. I reboot the RouterBOARD cAP 2n and it moves all my folders to flash/myfoldername? I reconfigure the hotspot profile with...