Community discussions

MikroTik App

Search found 10 matches

byhughrobbie
Fri May 26, 2023 10:20 am
Forum:General
Topic:CCR2216 v7 route table crash
Replies:0
Views:365

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...
byhughrobbie
Thu Nov 24, 2022 4:01 pm
Forum:Scripting
Topic:Script for recursive failover based on packet loss
Replies:7
Views:1863

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...
byhughrobbie
Thu Nov 24, 2022 3:57 pm
Forum:Scripting
Topic:Script for recursive failover based on packet loss
Replies:7
Views:1863

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.
byhughrobbie
9月23日,星期四2021 9:37 am
Forum:General
Topic:Outbound DDOS firewall rules
Replies:3
Views:954

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-...
byhughrobbie
9月23日,星期四2021 9:05 am
Forum:General
Topic:Outbound DDOS firewall rules
Replies:3
Views:954

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...
byhughrobbie
Tue Jun 15, 2021 9:48 am
Forum:Scripting
Topic:SFP monitor array
Replies:2
Views:2067

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...
byhughrobbie
Wed Jun 02, 2021 4:42 pm
Forum:Scripting
Topic:SFP monitor array
Replies:2
Views:2067

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...
byhughrobbie
Tue Apr 17, 2018 5:28 pm
Forum:Scripting
Topic:MT DynDNS to bind to one WAN only?
Replies:2
Views:1584

Re:太DynDNS绑定到一个广域网路?

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...
byhughrobbie
Wed Jan 10, 2018 3:26 pm
Forum:Scripting
Topic:remote ssh via script
Replies:53
Views:52896

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.:)
byhughrobbie
Wed Jul 08, 2015 1:59 pm
Forum:Beginner Basics
Topic:RouterBOARD cAP 2n HOTSPOT issue
Replies:1
Views:954

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...