Hello, i just got my RB951G-2HND yesterday and totally blind about scripting or setup mikrotik.
This is the network plan
Here is the route:
Cable modem to Mikrotik via LAN
Mikrotik to router 1 (optional and not always available) via LAN
Mikrotik to router 2 via LAN
Mikrotik or router 1 to home devices (both group A and B) via WLAN
Router 2 to home devices via LAN not WLAN as descripted
Router 2 to guest devices via WLAN (sometimes some home devices may connect to router 2 via WLAN for some purposes)
And for the rules:
1. I want to limit the bandwidth and block some websites or video streaming, download etc of Guest devices which connected via router 2 WLAN. If some of home devices also connected to WLAN of router 2, is it possible to prevent these home devices from the rules? I don't want to make a list of guest devices because I have to add IP/MAC address every new device connect to my network. For rule number 1, it's better if you could show the script to block website, media content (video and audio), stream and download.
2. For home devices, sometimes some devices need more bandwidth. Let say group A devices are used to play game which their bandwidth can't be disturb (example one of the device from group B is streaming video and group A got high ping). Is it possible to setup the bandwidth and also block group B from streaming,downloading etc? For this rule, I don't want make it permanent. If possible, I just want to select it enable or disable. So when I need this rule active, I just like tick a checkbox or select enable.
3.As you can see, router 2 have CCTV, TV and other media devices. Is it possible to block guest devices to connect to my media devices let say TV? But home devices still connect to the media devices even from router 1 or mikrotik.
And for the last, can you explain me which is the best way to configure the IP?
So far without mikrotik, I configure my router 1 with ip 192.168.1.1 and router 2 ip 192.168.1.2. For the route, the internet comes from modem to router 1 via LAN through internet port, router 1 to router 2 via LAN through Ethernet port.
What I want from the reply is the script that can configure the rules above.
A big thanks and really appreciate for your help