Professional Documents
Culture Documents
/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] >