Postado originalmente por
BillGates
15º Parte:
Regras para o Redirecionamento de "Downloads"
Para quem seguiu o tópico desde o início,não tera problemas nesta etapa.
Configuração feita no MK Balance:
/ip firewall filter
add action=add-dst-to-address-list address-list=
Download address-list-timeout=3d11h chain=forward comment=\
"
FASE DE TESTES - REDIRECIONAMENTO DE DOWNLOADS COM EXTENSAO .EXE - LINK3" content=
.exe disabled=no
add action=add-dst-to-address-list address-list=
Download address-list-timeout=3d11h chain=forward comment=\
"
FASE DE TESTES - REDIRECIONAMENTO DE DOWNLOADS COM EXTENSAO .ISO - LINK3" content=
.iso disabled=no
add action=add-dst-to-address-list address-list=
Download address-list-timeout=3d11h chain=forward comment=\
"
FASE DE TESTES - REDIRECIONAMENTO DE DOWNLOADS COM EXTENSAO .RAR - LINK3" content=
.rar disabled=no
add action=add-dst-to-address-list address-list=
Download address-list-timeout=3d11h chain=forward comment=\
"
FASE DE TESTES - REDIRECIONAMENTO DE DOWNLOADS COM EXTENSAO .ZIP - LINK3" content=
.zip disabled=no
add action=mark-routing chain=prerouting comment="
Videos - YouTube" disabled=no dst-address=189.73.192.208 new-routing-mark=Link-3 \
passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.209 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.210 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.211 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.212 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.213 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.214 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.215 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.216 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.217 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.218 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.219 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.220 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.221 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.222 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.223 new-routing-mark=Link-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=189.73.192.224 new-routing-mark=Link-3 passthrough=yes
/ip firewall nat
add action=src-nat chain=srcnat comment="
NAT - Redirecionamento de Downloads com extensoes .exe .rar .iso .zip" connection-mark=
Down disabled=no protocol=tcp \
to-addresses=
192.168.3.2 to-ports=0-65535
/ip firewall mangle
add action=mark-connection chain=prerouting comment="
FASE DE TESTES - REDIRECIONAMENTO DE DOWNLOADS COM EXTENSOES .EXE .ISO .RAR .ZIP" connection-state=new \
disabled=no dst-address-list=
Download in-interface=
Link-Gerenciado new-connection-mark=
Down passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=
Down disabled=no in-interface=
Link-Gerenciado new-routing-mark=
Link-3 passthrough=no
Obs.:
A regra de NAT devera ficar acima de todas as outras NAT!