You are on page 1of 8

MMM MMM KKK TTTTTTTTTTT KKK

MMMM MMMM KKK TTTTTTTTTTT KKK


MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK

MikroTik RouterOS 6.46.7 (c) 1999-2020 http://www.mikrotik.com/

[?] Gives the list of available commands


command [?] Gives help on the command and list of arguments

[Tab] Completes the command/word. If the input is ambiguous,


a second [Tab] gives possible options

/ Move up to base level


.. Move up one level
/command Use command at the base level
(6 messages not shown)
oct/21/2020 18:58:14 system,error,critical router was rebooted without proper shut
down
oct/25/2020 21:45:58 system,error,critical router was rebooted without proper shut
down
oct/26/2020 15:59:37 system,error,critical login failure for user admin from 10.0.
0.21 via winbox
oct/26/2020 16:07:16 system,error,critical login failure for user admin from 192.1
68.40.223 via winbox
oct/25/2020 21:45:59 system,error,critical router was rebooted without proper shut
down
oct/25/2020 21:45:59 system,error,critical router was rebooted without proper shut
down
oct/26/2020 17:43:38 system,error,critical login failure for user admin from 10.0.
0.21 via winbox
oct/26/2020 17:43:40 system,error,critical login failure for user admin from 10.0.
0.21 via winbox
[admin@MikroTik] > export all
expected end of command (line 1 column 8)
[admin@MikroTik] > export
# oct/28/2020 23:56:35 by RouterOS 6.46.7
# software id = 32KY-VNVT
#
# model = RB4011iGS+5HacQ2HnD
# serial number = D1480BA4CFC6
/interface bridge
add name=bridge1
add name=hotspot
/interface wireless
set [ find default-name=wlan1 ] disabled=no ssid=MikroTik
set [ find default-name=wlan2 ] disabled=no ssid=MikroTik
/interface ethernet
set [ find default-name=ether2 ] name=LAN2
set [ find default-name=ether3 ] name=LAN3
set [ find default-name=ether5 ] name=LAN5
set [ find default-name=ether6 ] name=LAN6
set [ find default-name=ether7 ] name=LAN7
set [ find default-name=ether8 ] name=LAN8
set [ find default-name=ether9 ] name=LAN9
set [ find default-name=ether10 ] name=LAN10
set [ find default-name=ether1 ] name=WAN1
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=0
set 3 default-vlan-id=0
set 4 default-vlan-id=0
set 5 default-vlan-id=0
set 6 default-vlan-id=0
set 7 default-vlan-id=0
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=0
set 11 default-vlan-id=0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip firewall layer7-protocol
add name=speedtest regexp="^.+(speedtest).*\\\$"
add name=youtube regexp="^.+(youtube|googlevideo.com).*\\\$"
add name=youtube2 regexp=\
"^..+\\.(youtube.com|googlevideo.com|akamaihd.net).*\$"
add name=facebook regexp="^..+\\.(facebook.com|facebook.net|fbcdn.com|fbsbx.com|\
fbcdn.net|fb.com|tfbnw.net).*\$"
add name=netflix regexp=\
"^.+(netflix|nflxext|nflximg|nflxsearch|nflxso|nflxvideo).*\$"
/ip pool
add name=dhcp_pool0 ranges=192.168.40.2-192.168.40.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge1 name=dhcp1
/queue simple
add max-limit=5M/50M name=Clientes-Speedtest packet-marks=speedtest_pkt target=\
bridge1
/queue type
add kind=pcq name=pcq_down pcq-classifier=dst-address pcq-dst-address6-mask=64 \
pcq-rate=90M pcq-src-address6-mask=64 pcq-total-limit=4000KiB
add kind=pcq name=pcq_up pcq-classifier=src-address pcq-dst-address6-mask=64 \
pcq-rate=40M pcq-src-address6-mask=64 pcq-total-limit=4000KiB
/queue simple
add max-limit=40M/90M name=Clientes queue=pcq_up/pcq_down target=\
192.168.40.0/24
add max-limit=768k/3M name=fw1 parent=Clientes target=192.168.40.253/32
add max-limit=768k/3M name=Leonel parent=Clientes target=192.168.40.237/32
add max-limit=768k/3M name=Yowi parent=Clientes target=192.168.40.223/32
add max-limit=768k/3M name="israel yenny" parent=Clientes target=\
192.168.40.191/32
add max-limit=768k/2M name=sofia parent=Clientes target=192.168.40.183/32
add max-limit=768k/2M name="sofia 2" parent=Clientes target=192.168.40.178/32
add max-limit=768k/3M name=tony parent=Clientes target=192.168.40.194/32
add max-limit=768k/3M name=kevo parent=Clientes target=192.168.40.145/32
add max-limit=768k/3M name=CHUYPI parent=Clientes target=192.168.40.157/32
add max-limit=768k/1M name="un equipo extra\F1o en la red" parent=Clientes \
target=192.168.40.157/32
add max-limit=768k/3M name="emelie hernanadez" parent=Clientes target=\
192.168.40.203/32
add max-limit=10k/10k name=ojo parent=Clientes target=192.168.40.141/32
add max-limit=1k/1k name=raroraro parent=Clientes target=192.168.40.148/32
add max-limit=1k/1k name=raro9 parent=Clientes target=192.168.40.146/32
add max-limit=10k/10k name="telefono rraro" parent=Clientes target=\
192.168.40.138/32
add max-limit=1k/1k name=raro parent=Clientes target=192.168.40.126/32
add max-limit=768k/3M name="jose luis" parent=Clientes target=192.168.40.200/32
add max-limit=768k/3M name=SORANGEL parent=Clientes target=192.168.40.206/32
add max-limit=768k/3M name=COCO parent=Clientes target=192.168.40.144/32
add max-limit=768k/3M name=GUILLERMINA parent=Clientes target=192.168.40.199/32
add max-limit=768k/3M name=belki parent=Clientes target=192.168.40.151/32
add max-limit=768k/3M name=maritza parent=Clientes target=192.168.40.152/32
add max-limit=768k/3M name=SANDRO parent=Clientes target=192.168.40.202/32
add max-limit=768k/3M name="maria " parent=Clientes target=192.168.40.193/32
add max-limit=768k/3M name="yerna de guillermina " parent=Clientes target=\
192.168.40.184/32
add max-limit=768k/3M name="Hijo de raquel" parent=Clientes target=\
192.168.40.222/32
add max-limit=768k/3M name="tienda de antony" parent=Clientes target=\
192.168.40.182/32
add max-limit=768k/3M name=LENNYN parent=Clientes target=192.168.40.196/32
add comment="50 mega" max-limit=2M/20M name=verenice parent=Clientes target=\
192.168.40.198/32
add max-limit=768k/3M name="RAQUEL PRODUCTOS" parent=Clientes target=\
192.168.40.213/32
add max-limit=768k/3M name="colmado calle 11" parent=Clientes target=\
192.168.40.204/32
add max-limit=768k/3M name="hijo del chuypi" parent=Clientes target=\
192.168.40.155/32
add max-limit=768k/3M name=kike parent=Clientes target=192.168.40.192/32
add max-limit=768k/3M name=REY parent=Clientes target=192.168.40.147/32
add max-limit=768k/3M name="Raquel hija de amparo" parent=Clientes target=\
192.168.40.190/32
add max-limit=768k/3M name=Quebo parent=Clientes target=192.168.40.234/32
add max-limit=768k/3M name="vecina de delia" parent=Clientes target=\
192.168.40.211/32
add max-limit=768k/3M name="WILLIAN GERMAN" parent=Clientes target=\
192.168.40.201/32
add max-limit=768k/2M name="fran rondon" parent=Clientes target=\
192.168.40.209/32
add max-limit=768k/3M name=HANSEL parent=Clientes target=192.168.40.210/32
add max-limit=768k/3M name=Belki parent=Clientes target=192.168.40.230/32
add max-limit=768k/3M name=fw3 parent=Clientes target=192.168.40.252/32
add max-limit=768k/3M name=fw2 parent=Clientes target=192.168.40.251/32
add max-limit=5M/5M name=Wander parent=Clientes target=192.168.40.207/32
add max-limit=768k/3M name="mujer de beato" parent=Clientes target=\
192.168.40.197/32
/queue tree
add max-limit=45M name=UP parent=WAN1 queue=pcq_up
add name="1. VOIP_" packet-mark=VOIP parent=UP priority=1 queue=default
add name="2. DNS_" packet-mark=DNS parent=UP priority=2 queue=default
add name="3. ACK_" packet-mark=ACK parent=UP priority=3 queue=default
add name="4. UDP_" packet-mark=UDP parent=UP priority=3 queue=default
add name="5. ICMP_" packet-mark=ICMP parent=UP priority=4 queue=default
add name="9. OTHER_" packet-mark=OTHER parent=UP queue=default
add limit-at=5M max-limit=5M name=youtube_up packet-mark=youtube_up_pk parent=\
UP priority=1 queue=pcq-upload-default
add limit-at=5M max-limit=5M name=facebook_up packet-mark=facebook_up_pk \
parent=UP priority=1 queue=pcq-upload-default
add max-limit=95M name=DOWN parent=bridge1 queue=pcq_down
add name="1. VOIP" packet-mark=VOIP parent=DOWN priority=1 queue=default
add name="2. DNS" packet-mark=DNS parent=DOWN priority=2 queue=default
add name="3. ACK" packet-mark=ACK parent=DOWN priority=3 queue=default
add name="4. UDP" packet-mark=UDP parent=DOWN priority=3 queue=default
add name="5. ICMP" packet-mark=ICMP parent=DOWN priority=4 queue=default
add name="9. OTHER" packet-mark=OTHER parent=DOWN queue=default
add max-limit=15M name=youtube_dw packet-mark=youtube_dw_pk parent=DOWN \
priority=1 queue=pcq-download-default
add max-limit=5M name=facebook_dw packet-mark=facebook_dw_pk parent=DOWN \
priority=1 queue=pcq-download-default
add max-limit=8M name=netflix_dw packet-mark=netflix_dw_pk parent=DOWN \
priority=1 queue=pcq-download-default
add limit-at=5M max-limit=5M name=netflix_up packet-mark=netflix_up_pk parent=\
UP priority=1 queue=pcq-upload-default
/interface bridge port
add bridge=bridge1 interface=LAN2
add bridge=bridge1 interface=LAN3
add bridge=bridge1 interface=LAN4
add bridge=bridge2 interface=LAN5

/ip address
add address=192.168.40.1/24 interface=bridge1 network=192.168.40.0
/ip arp
add address=192.168.40.237 interface=bridge1 mac-address=E8:65:D4:53:6C:B0
add address=192.168.40.223 interface=bridge1 mac-address=A0:AB:1B:74:6F:97
/ip dhcp-client
add disabled=no interface=WAN1
/ip dhcp-server lease
add address=192.168.40.223 client-id=1:a0:ab:1b:74:6f:97 comment=yowi \
mac-address=A0:AB:1B:74:6F:97 server=dhcp1
add address=192.168.40.222 client-id=1:d8:47:32:ea:19:2b comment=\
"hijo de raquel" mac-address=D8:47:32:EA:19:2B server=dhcp1
add address=192.168.40.237 client-id=1:e8:65:d4:53:6c:b0 comment=leonel \
mac-address=E8:65:D4:53:6C:B0 server=dhcp1
add address=192.168.40.213 client-id=1:d8:47:32:ea:45:7d comment=\
"RAQUEL PRODUCTOS " mac-address=D8:47:32:EA:45:7D server=dhcp1
add address=192.168.40.211 client-id=1:d8:47:32:ea:45:b3 comment=\
"VECINADA DE DELIA " mac-address=D8:47:32:EA:45:B3 server=dhcp1
add address=192.168.40.198 client-id=1:b0:be:76:b5:3f:8b comment=berenice \
mac-address=B0:BE:76:B5:3F:8B server=dhcp1
add address=192.168.40.197 client-id=1:e8:65:d4:53:6b:e8 comment=\
"mujer de beato" mac-address=E8:65:D4:53:6B:E8 server=dhcp1
add address=192.168.40.209 client-id=1:e8:65:d4:54:65:a8 comment="fran rondon" \
mac-address=E8:65:D4:54:65:A8 server=dhcp1
add address=192.168.40.207 client-id=1:d8:47:32:ea:19:29 comment=WANDER \
mac-address=D8:47:32:EA:19:29 server=dhcp1
add address=192.168.40.210 client-id=1:e8:65:d4:53:68:8 comment=hansel \
mac-address=E8:65:D4:53:68:08 server=dhcp1
add address=192.168.40.196 client-id=1:d8:47:32:c6:3:e1 comment="LENYN TP LINK" \
mac-address=D8:47:32:C6:03:E1 server=dhcp1
add address=192.168.40.193 client-id=1:e8:65:d4:53:6c:8 comment=\
"maria becina de amparo" mac-address=E8:65:D4:53:6C:08 server=dhcp1
add address=192.168.40.191 client-id=1:e8:65:d4:53:76:40 comment=israel \
mac-address=E8:65:D4:53:76:40 server=dhcp1
add address=192.168.40.190 client-id=1:50:f:f5:81:5b:0 comment=\
"Raquel hija de amparo" mac-address=50:0F:F5:81:5B:00 server=dhcp1
add address=192.168.40.201 client-id=1:e8:65:d4:53:6d:0 comment=\
"WILLIAN GERMAN" mac-address=E8:65:D4:53:6D:00 server=dhcp1
add address=192.168.40.192 client-id=1:e8:65:d4:53:6c:0 comment=kike \
mac-address=E8:65:D4:53:6C:00 server=dhcp1
add address=192.168.40.194 client-id=1:e8:65:d4:54:67:f8 comment=DEIVI \
mac-address=E8:65:D4:54:67:F8 server=dhcp1
add address=192.168.40.204 client-id=1:d8:47:32:ea:18:ed comment=\
"colamado calle 11 " mac-address=D8:47:32:EA:18:ED server=dhcp1
add address=192.168.40.182 client-id=1:d8:47:32:ea:18:df comment=\
"tienda antony" mac-address=D8:47:32:EA:18:DF server=dhcp1
add address=192.168.40.184 client-id=1:e8:65:d4:53:6b:f8 comment=\
"yerna de guillermina" mac-address=E8:65:D4:53:6B:F8 server=dhcp1
add address=192.168.40.157 client-id=1:e8:65:d4:54:5a:8 comment=chuipiherrera \
mac-address=E8:65:D4:54:5A:08 server=dhcp1
add address=192.168.40.203 client-id=1:3c:8c:f8:85:76:6f comment=\
"emili hermanandez" mac-address=3C:8C:F8:85:76:6F server=dhcp1
add address=192.168.40.178 client-id=1:dc:37:14:3c:85:1e comment="sofia 2" \
mac-address=DC:37:14:3C:85:1E server=dhcp1
add address=192.168.40.200 client-id=1:e8:65:d4:54:33:70 comment="jose luis " \
mac-address=E8:65:D4:54:33:70 server=dhcp1
add address=192.168.40.155 client-id=1:e8:65:d4:54:66:80 comment=\
"hijo del shuipi" mac-address=E8:65:D4:54:66:80 server=dhcp1
add address=192.168.40.151 client-id=1:e8:65:d4:54:68:48 comment=belki \
mac-address=E8:65:D4:54:68:48 server=dhcp1
add address=192.168.40.152 client-id=1:38:6b:1c:85:ed:fd comment=\
"de tras de mi casa maritza" mac-address=38:6B:1C:85:ED:FD server=dhcp1
add address=192.168.40.202 client-id=1:e8:65:d4:54:2:e8 comment=SANDRO \
mac-address=E8:65:D4:54:02:E8 server=dhcp1
add address=192.168.40.206 client-id=1:e8:65:d4:54:66:a0 comment=SORANGEL \
mac-address=E8:65:D4:54:66:A0 server=dhcp1
add address=192.168.40.199 client-id=1:e8:65:d4:54:65:b0 comment=GUILLERMINA \
mac-address=E8:65:D4:54:65:B0 server=dhcp1
add address=192.168.40.208 client-id=1:e8:65:d4:54:67:d0 comment=NIDIA \
mac-address=E8:65:D4:54:67:D0 server=dhcp1
add address=192.168.40.145 client-id=1:d8:47:32:ea:44:8f comment=kevo \
mac-address=D8:47:32:EA:44:8F server=dhcp1
add address=192.168.40.144 client-id=1:3c:8c:f8:85:91:a7 comment=COCO \
mac-address=3C:8C:F8:85:91:A7 server=dhcp1
add address=192.168.40.146 client-id=1:c0:25:e9:14:4f:f2 disabled=yes \
mac-address=C0:25:E9:14:4F:F2 server=dhcp1
add address=192.168.40.146 client-id=1:c0:25:e9:14:4f:f2 disabled=yes \
mac-address=C0:25:E9:14:4F:F2 server=dhcp1
add address=192.168.40.131 client-id=1:b0:c1:9e:5f:1a:e9 disabled=yes \
mac-address=B0:C1:9E:5F:1A:E9 server=dhcp1
add address=192.168.40.138 client-id=1:14:9f:3c:37:b:81 disabled=yes \
mac-address=14:9F:3C:37:0B:81 server=dhcp1
add address=192.168.40.141 client-id=1:e8:b4:c8:7f:1f:1d disabled=yes \
mac-address=E8:B4:C8:7F:1F:1D server=dhcp1
add address=192.168.40.138 client-id=1:14:9f:3c:37:b:81 disabled=yes \
mac-address=14:9F:3C:37:0B:81 server=dhcp1
add address=192.168.40.131 client-id=1:b0:c1:9e:5f:1a:e9 disabled=yes \
mac-address=B0:C1:9E:5F:1A:E9 server=dhcp1
add address=192.168.40.138 client-id=1:14:9f:3c:37:b:81 comment="te dare o" \
mac-address=14:9F:3C:37:0B:81 server=dhcp1
add address=192.168.40.130 client-id=1:0:22:19:6:98:ff disabled=yes \
mac-address=00:22:19:06:98:FF server=dhcp1
add address=192.168.40.126 client-id=1:78:fd:94:e2:a3:8f mac-address=\
78:FD:94:E2:A3:8F server=dhcp1
add address=192.168.40.148 client-id=1:40:16:3b:a3:5c:61 comment=rr \
mac-address=40:16:3B:A3:5C:61 server=dhcp1
add address=192.168.40.147 client-id=1:e8:65:d4:54:2a:a8 comment=REY \
mac-address=E8:65:D4:54:2A:A8 server=dhcp1
add address=192.168.40.146 client-id=1:c0:25:e9:14:4f:f2 mac-address=\
C0:25:E9:14:4F:F2 server=dhcp1
/ip dhcp-server network
add address=192.168.40.0/24 gateway=192.168.40.1
/ip dns
set servers=8.8.8.8,8.8.4.4
/ip firewall address-list
add comment="aqui va la ip del que no paga, para bloquearle el servicio" \
disabled=yes list=Morosos
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
add action=drop chain=forward comment="Bloqueo udp Chrome" dst-port=80,443 \
protocol=udp
add action=accept chain=forward dst-port=53 protocol=udp src-address-list=\
Morosos
add action=accept chain=forward dst-address-list=Morosos protocol=udp src-port=\
53
add action=drop chain=forward src-address-list=Morosos
/ip firewall mangle
add action=mark-connection chain=forward comment=SPEEDTEST layer7-protocol=\
speedtest new-connection-mark=speedtest_conn
add action=mark-connection chain=prerouting new-connection-mark=speedtest_conn \
protocol=tcp src-port=8080
add action=mark-packet chain=prerouting connection-mark=speedtest_conn \
new-packet-mark=speedtest_pkt passthrough=no
add action=mark-connection chain=postrouting dst-port=8080 new-connection-mark=\
speedtest_conn protocol=tcp
add action=mark-packet chain=postrouting connection-mark=speedtest_conn \
new-packet-mark=speedtest_pkt passthrough=no
add action=mark-connection chain=prerouting comment=DNS connection-state=new \
new-connection-mark=DNS passthrough=yes port=53 protocol=udp
add action=mark-packet chain=prerouting connection-mark=DNS new-packet-mark=DNS \
passthrough=no
add action=mark-connection chain=postrouting connection-state=new \
new-connection-mark=DNS passthrough=yes port=53 protocol=udp
add action=mark-packet chain=postrouting connection-mark=DNS new-packet-mark=\
DNS passthrough=no
add action=mark-connection chain=prerouting comment=VOIP new-connection-mark=\
VOIP passthrough=yes port=5060-5062,10000-20000 protocol=udp
add action=mark-packet chain=prerouting connection-mark=VOIP new-packet-mark=\
VOIP passthrough=no
add action=mark-connection chain=prerouting comment=QUIC connection-state=new \
new-connection-mark=QUIC passthrough=yes port=80,443 protocol=udp
add action=mark-packet chain=prerouting connection-mark=QUIC new-packet-mark=\
QUIC passthrough=no
add action=mark-connection chain=prerouting comment=UDP connection-state=new \
new-connection-mark=UDP passthrough=yes protocol=udp
add action=mark-packet chain=prerouting connection-mark=UDP new-packet-mark=UDP \
passthrough=no
add action=mark-connection chain=prerouting comment=ICMP connection-state=new \
new-connection-mark=ICMP passthrough=yes protocol=icmp
add action=mark-packet chain=prerouting connection-mark=ICMP new-packet-mark=\
ICMP passthrough=no
add action=mark-connection chain=postrouting connection-state=new \
new-connection-mark=ICMP passthrough=yes protocol=icmp
add action=mark-packet chain=postrouting connection-mark=ICMP new-packet-mark=\
ICMP passthrough=no
add action=mark-packet chain=postrouting comment=ACK new-packet-mark=ACK \
packet-size=0-123 passthrough=no protocol=tcp tcp-flags=ack
add action=mark-packet chain=prerouting new-packet-mark=ACK packet-size=0-123 \
passthrough=no protocol=tcp tcp-flags=ack
add action=mark-connection chain=prerouting comment=HTTP connection-mark=\
no-mark connection-state=new new-connection-mark=HTTP passthrough=yes port=\
80,443 protocol=tcp
add action=mark-connection chain=prerouting connection-bytes=5000000-0 \
connection-mark=HTTP connection-rate=2M-100M new-connection-mark=HTTP_BIG \
passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting connection-mark=HTTP_BIG \
new-packet-mark=HTTP_BIG passthrough=no
add action=mark-packet chain=prerouting connection-mark=HTTP new-packet-mark=\
HTTP passthrough=no
add action=mark-connection chain=prerouting comment=OTHER connection-state=new \
new-connection-mark=POP3 passthrough=yes port=995,465,587 protocol=tcp
add action=mark-packet chain=prerouting connection-mark=POP3 new-packet-mark=\
OTHER passthrough=no
add action=mark-connection chain=prerouting connection-mark=no-mark \
new-connection-mark=OTHER passthrough=yes
add action=mark-packet chain=prerouting connection-mark=OTHER new-packet-mark=\
OTHER passthrough=no
add action=mark-packet chain=forward connection-mark=youtube_dw_connection \
new-packet-mark=youtube_dw_pk passthrough=no
add action=mark-packet chain=forward connection-mark=youtube_up_conection \
new-packet-mark=youtube_up_pk passthrough=no
add action=mark-packet chain=forward connection-mark=facebook_dw_connection \
new-packet-mark=facebook_dw_pk passthrough=no
add action=mark-packet chain=forward connection-mark=facebook_up_conection \
new-packet-mark=facebook_up_pk passthrough=no
add action=mark-packet chain=forward connection-mark=netflix_dw_connection \
new-packet-mark=netflix_dw_pk passthrough=no
add action=mark-packet chain=forward connection-mark=netflix_up_conection \
new-packet-mark=netflix_up_pk passthrough=no
add action=mark-connection chain=forward comment=YOUTUBE in-interface=WAN1 \
layer7-protocol=youtube2 new-connection-mark=youtube_dw_connection \
passthrough=yes
add action=mark-packet chain=forward connection-mark=youtube_dw_connection \
new-packet-mark=youtube_dw_pk passthrough=no
add action=mark-connection chain=prerouting comment="YOUTUBE UP" in-interface=\
bridge1 layer7-protocol=youtube2 new-connection-mark=youtube_up_conection \
passthrough=yes
add action=mark-packet chain=forward connection-mark=youtube_up_conection \
new-packet-mark=youtube_up_pk passthrough=no
add action=mark-connection chain=forward comment=facebook_dw in-interface=WAN1 \
layer7-protocol=facebook new-connection-mark=facebook_dw_connection \
passthrough=yes
add action=mark-packet chain=forward connection-mark=facebook_dw_connection \
new-packet-mark=facebook_dw_pk passthrough=no
add action=mark-connection chain=prerouting comment=facebook_up in-interface=\
bridge1 layer7-protocol=facebook new-connection-mark=facebook_up_conection \
passthrough=yes
add action=mark-packet chain=forward connection-mark=facebook_up_conection \
new-packet-mark=facebook_up_pk passthrough=no
add action=mark-connection chain=forward comment=netflix_dw in-interface=WAN1 \
layer7-protocol=netflix new-connection-mark=netflix_dw_connection \
passthrough=yes
add action=mark-packet chain=forward connection-mark=netflix_dw_connection \
new-packet-mark=netflix_dw_pk passthrough=no
add action=mark-connection chain=prerouting comment=netflix_up in-interface=\
bridge1 layer7-protocol=netflix new-connection-mark=netflix_up_conection \
passthrough=yes
add action=mark-packet chain=forward connection-mark=netflix_up_conection \
new-packet-mark=netflix_up_pk passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=redirect chain=dstnat dst-port=80 protocol=tcp src-address-list=\
Morosos to-ports=8088
/system clock
set time-zone-name=America/Santo_Domingo
/system leds
add interface=wlan2 leds="wlan2_signal1-led,wlan2_signal2-led,wlan2_signal3-led,\
wlan2_signal4-led,wlan2_signal5-led" type=wireless-signal-strength
add interface=wlan2 leds=wlan2_tx-led type=interface-transmit
add interface=wlan2 leds=wlan2_rx-led type=interface-receive
[admin@MikroTik] >

You might also like