I had to run the "Windows Security" application and select: App & browser control Exploit protection settings Program Settings [+] Add program to customize Add by program name Enter program name: dude.exe Force randomization for images (Mandatory ASLR) Force relocation of inages not co...
Schedule a script to run every 5 minutes that pings your phone and disables the Internet if it can't ping it. :if ([/ping 8.8.8.8 count=1] = 0) do={ /interface ethernet set [find name=ether1] disabled=yes } else={ /interface ethernet set [find name=ether1] disabled=no } Substitute the static IP of y...
When I tried via the API it didn't ask for a confirmation. The router reset it's config and rebooted immediately. <<< /system/reset-configuration <<< =no-defaults=yes <<< =skip-backup=yes <<< >>> !done in my case its not doing anything could it be that i am executing a script ? /system reset-config...
Post it to GitHub maybe? Also, one note based on a skim of the source: // ******************************************************************** // readBlock // ******************************************************************** // READ A BLOCK FROM THE SOCKET. // // Read a block of sentences from t...
Sorry. I'm just an old C programmer. Great idea but beyond my abilities. I'm hoping someone needs a program to login to a router and do something. Produce a report or change settings or check something and give a different return value so it can be used in bash scripts. Poll some parameter and dump ...
I have a need in my work to copy firewall rules from a master router to several dozen other routers. So I wrote this program. It copies all firewall FILTER, MANGLE and ADDRESS-LIST entries from the hard coded "MASTER" router to the router specified on the command line. I started with the C...
Here is something to get you started. We create the bridges and vlan interfaces, then bridge them together. Without a better explanation of the service you get from your ISP I can't help more. Do you have static (public) IP's? or do you get an IP from your ISP via DHCP? /interface bridge add name=br...
A basic firewall rule set would include just the permit and deny statements necessary to control traffic. This would be inefficient since once a connection/stream has been established, you don't need to check all the rules for subsequent packets as long as you know the packet is a member of a stream...
None of my Mikrotik's are directly connected to the Internet. They're all internal routers. Picture a water tower site. One radio pointed east. One pointed west. It is a full ring so if the east link goes down, then all traffic will reroute and come in from the west. If the west goes down, all traff...
I found that when I bound the DHCP server to a bridge it didn't work. Therefore I assumed it was a requirement to bind all DHCP servers to interfaces. I see that this may no longer be a limitation with newer firmware. My testing was a few versions ago. I'll have to try again with the latest version....
It has been my experience with 6.40.2 on a network of ~30 Mikrotik routers, that in order for a dhcp-relay anywhere out in the network to work, the packets from the relay must be received by the dhcp server on the same interface the dhcp server is configured on. Now consider the case of an OSPF ring...
You need two scripts. Schedule the first one for 11:30 pm. This gives enough time for all your routers to download the update (if there is one). Then, if and only if there was an update, the second script gets called which reboots all routers with an update simultaneously. (make sure you use NTP) I ...