you can use this script to print it to txt file
Code: Select all
/ip firewall address-list print file=ssh_blacklist where list=ssh_blacklist
/ip firewall address-list print file=ssh_blacklist where list=ssh_blacklist
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address=8.8.8.8 new-routing-mark=WAN1_route
/ip route
add distance=1 gateway=1.1.1.1 routing-mark=WAN1_route
/ip firewall layer7-protocol add name=teamviewer regexp="^(post|get) /d(out|in).aspx\?.*client=dyngate"
add action=dst-nat chain=dstnat dst-port=1414 in-interface="!ether1 - SALIDA" \ protocol=tcp to-addresses=172.16.0.10 to-ports=80as first in NAT
I think this was our mistake that we didn't work on address list;;; Youtube Address List
chain=prerouting action=add-dst-to-address-list protocol=tcp
address-list=youtube.com address-list-timeout=0s
layer7-protocol=youtube.com dst-port=80
How??I have only one Squid Cache Server on my network . I have solved to split youtube videos with mikrotik , but not other video sites and is working perfectly.
your wan ip is 192.168.88.xxxPPPoE: RB750 configured wan (192.168.88.234/24) and pppoe users pool is 10.10.10.0/24
Hotspot: RB750 configured wan (192.168.88.235/24) and hotspot users pool is 172.16.0.0/24
noted...the meaning is that you can set some value, and that value can be visible by the next device, unlike packet mark, etc.
so what is the meaning of use action=set-priority in mangle ??the same with 'priority' value - it's just a field in a packet, it changes nothing in packet processing of the current router
Dear Samsung172 ...both will have 512? since simple queue is 512.
for more help with thanx to Mistry7...DNS amplification attack
Drop incoming packets on Port 53
/ip firewall filter add action=drop chain=input dst-port=53 in-interface=wan protocol=tcp add action=drop chain=input dst-port=53 in-interface=wan protocol=udp
this is normal the priority is for distance 1 if it is down then distance 2 will work..distance 2 color in blue
can you see any traffic in interface ?i m trying load balancing with 2 wan but the issue is my routa wan 2 in not working
add action=dst-nat chain=dstnat content=www.youtube.com protocol=tcp to-addresses=x.x.x.x to-ports=80
add action=masquerade chain=srcnat src-address=192.168.88.0/24
DHCP would not help force the traffic to go via the router, in your example.
be careful to change the name of layer 7 from Youtube to YouTube as you put it in Mangle (layer7-protocol="YouTube ")Hi guys,
I used this:
/ip firewall layer7-protocol
add name=Youtube regexp=videoplayback