Community discussions

MikroTik App

Search found 29 matches

by horhay
Sat Jun 19, 2021 2:09 am
Forum: The Dude
Topic: Dude Windows Client Errors v6.45.8 - v6.47.1
Replies: 2
Views: 12951

Re: Dude Windows Client Errors v6.45.8 - v6.47.1

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...
by horhay
Mon Feb 26, 2018 10:11 pm
Forum: Beginner Basics
Topic: Need product recommendation for sending SMS.
Replies: 1
Views: 970

Re: Need product recommendation for sending SMS.

UPDATE: I purchased the RBM11G and the RB11e-LTE-US. They work perfectly. SMS and DATA .
by horhay
Thu Feb 08, 2018 1:36 am
Forum: Beginner Basics
Topic: Enabling the interface when connecting a specific MAC address
Replies: 2
Views: 927

Re: Enabling the interface when connecting a specific MAC address

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...
by horhay
Fri Feb 02, 2018 9:05 pm
Forum: Beginner Basics
Topic: Need product recommendation for sending SMS.
Replies: 1
Views: 970

Need product recommendation for sending SMS.

I've tried the Huawei E3372h-607 USB modem in both stick and hilink modes without success. Data no problem but never got SMS working.

What i'm looking for ideally is a routerboard that supports a sim card along with the mini-pci card to handle the cellular part.
by horhay
Tue Jan 30, 2018 3:34 pm
Forum: Scripting
Topic: Reset ROS with API
Replies: 3
Views: 2109

Re: Reset ROS with API

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...
by horhay
Tue Jan 30, 2018 12:17 am
Forum: Scripting
Topic: Reset ROS with API
Replies: 3
Views: 2109

Re: Reset ROS with API

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
by horhay
Mon Jan 29, 2018 5:03 am
Forum: Scripting
Topic: API written in C
Replies: 2
Views: 1278

Re: API written in C

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...
by horhay
Sun Jan 28, 2018 7:21 pm
Forum: Scripting
Topic: API written in C
Replies: 2
Views: 1278

API written in C

I'm continuing to develop an API written in C and wish to share it here.

The API has now been broken out into separate files that can be included thus keeping your main project files small.

Hope someone finds it interesting.

h0rhay.
by horhay
Sat Jan 27, 2018 4:22 am
Forum: Scripting
Topic: Quickly clone firewall rules via API written in C.
Replies: 4
Views: 2239

Re: Quickly clone firewall rules via API written in C.

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 ...
by horhay
Fri Jan 26, 2018 6:30 pm
Forum: Scripting
Topic: Quickly clone firewall rules via API written in C.
Replies: 4
Views: 2239

Re: Quickly clone firewall rules via API written in C.

I'm looking for a new project if anyone needs anything written using the API.
by horhay
Sun Jan 21, 2018 8:24 pm
Forum: Scripting
Topic: Quickly clone firewall rules via API written in C.
Replies: 4
Views: 2239

Quickly clone firewall rules via API written in C.

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...
by horhay
Mon Nov 06, 2017 1:12 pm
Forum: Beginner Basics
Topic: Mikrotik to Fortinet VPN using WiFi Interface
Replies: 1
Views: 1258

Re: Mikrotik to Fortinet VPN using WiFi Interface

/ip ipsec proposal set [ find default=yes ] enc-algorithms=aes-128-cbc pfs-group=modp1536 add enc-algorithms=aes-128-cbc name=sha1-aes128-modp1536 pfs-group=modp1536 /ip ipsec peer add address=1.1.1.1/32 dh-group=modp1536 dpd-maximum-failures=3 enc-algorithm=aes-128 \ nat-traversal=no passive=yes s...
by horhay
Sun Oct 08, 2017 5:46 pm
Forum: Beginner Basics
Topic: 1st time RB3011 configuration
Replies: 1
Views: 2263

Re: 1st time RB3011 configuration

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...
by horhay
Thu Oct 05, 2017 10:48 pm
Forum: Beginner Basics
Topic: Understanding fast path, fasttracking, and fast-forward
Replies: 1
Views: 17626

Re: Understanding fast path, fasttracking, and fast-forward

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...
by horhay
Thu Oct 05, 2017 10:33 pm
Forum: Beginner Basics
Topic: Understanding DHCP on Mikrotik [SOLVED]
Replies: 7
Views: 3158

Re: Understanding DHCP on Mikrotik [SOLVED]

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...
by horhay
Wed Oct 04, 2017 1:44 pm
Forum: Beginner Basics
Topic: How do I isolate a short list of Static Local IP addresses from all other traffic
Replies: 1
Views: 934

Re: How do I isolate a short list of Static Local IP addresses from all other traffic

Bridge the two interfaces and turn on the IP Firewall. Create your rules.
by horhay
Fri Sep 22, 2017 4:21 am
Forum: Beginner Basics
Topic: Understanding DHCP on Mikrotik [SOLVED]
Replies: 7
Views: 3158

Re: Understanding DHCP on Mikrotik [SOLVED]

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....
by horhay
Sat Sep 09, 2017 11:50 pm
Forum: Beginner Basics
Topic: CRS226 DHCP + MAC Limitation Help !
Replies: 1
Views: 1024

Re: CRS226 DHCP + MAC Limitation Help !

I'm a newbie too.

I believe you just set the pool on the dhcp server to static-only and enter all your static leases for the permitted devices.
by horhay
Sat Sep 09, 2017 11:32 pm
Forum: Beginner Basics
Topic: Understanding DHCP on Mikrotik [SOLVED]
Replies: 7
Views: 3158

Re: Understanding DHCP on Mikrotik [SOLVED]

I think what I'm asking for is the ability to bind a dhcp server to a bridge.
by horhay
Wed Aug 30, 2017 2:59 am
Forum: Beginner Basics
Topic: VLAN not working
Replies: 7
Views: 1972

Re: VLAN not working

I always put my radios in WDS (Transparent Bridge) mode and keep the network as Bridge not routed.
by horhay
Wed Aug 30, 2017 2:26 am
Forum: Beginner Basics
Topic: dhcp server not working
Replies: 4
Views: 7288

Re: dhcp server not working

Ether6 is where you're running your DHCP server. /interface ethernet set [ find default-name=ether6 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full arp=enabled arp-timeout=auto auto-negotiation=yes bandwidth=unlimited/unlimited comment="To Lan" disabled=no full-dupl...
by horhay
Wed Aug 30, 2017 1:17 am
Forum: Beginner Basics
Topic: Understanding DHCP on Mikrotik [SOLVED]
Replies: 7
Views: 3158

Understanding DHCP on Mikrotik [SOLVED]

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...
by horhay
Mon Aug 28, 2017 8:50 pm
Forum: Scripting
Topic: Useful scripts
Replies: 116
Views: 319786

Re: Useful scripts

Prior to the addition of fasttrack you could remove all firewall filters with
/ip firewall filter
rem [find]
Now that we have fasttrack you must use this
/ip firewall filter
rem [find where !dynamic]
by horhay
Sun Aug 20, 2017 3:59 pm
Forum: The Dude
Topic: Easy way to mass upgrade firmware?
Replies: 26
Views: 28268

Re: Easy way to mass upgrade firmware?

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 ...
by horhay
Sat May 27, 2017 4:43 pm
Forum: General
Topic: DHCP relay problem
Replies: 9
Views: 7557

Re: DHCP relay problem

Try setting the "Admin. MAC Address" the same as the "MAC Address" on the Bridge. Also make sure STP is OFF on the Bridge too.
by horhay
Fri Apr 21, 2017 11:44 pm
Forum: General
Topic: Feature requests
Replies: 1792
Views: 678172

Re: Feature requests

Help us old keyboarders out and add ALT tags to menu and buttons.

This way we can use ALT C for a Close button or ALT O for OK.
by horhay
Sat Jun 20, 2015 7:26 pm
Forum: General
Topic: Weird torch traffic! LAN visable to WAN
Replies: 16
Views: 31126

Re: Weird torch traffic! LAN visable to WAN

Torch shows IP addresses on a interface after applying NAT.