- Vídeo Tutorial brazilfw cachefull paralelo com mikrotik 6.12
Ola pessoal, eu fiz um vídeo mostrando passo a passo como criar brazilfw paralelo ao mikrotik para cache de dns e http com lusca storeurl e funcionando o cachefull
Low quality version
<--- /ip firewall nat --->
- Código: Selecionar todos
/ip firewall nat
add action=masquerade chain=srcnat comment="nat link" out-interface=link src-address=192.168.136.0/24
add action=masquerade chain=srcnat comment="nat bfw" out-interface=link src-address=192.168.25.0/30
add action=dst-nat chain=dstnat comment="redirecionar para o proxy" dst-address-list=!sem_proxy dst-port=80 protocol=tcp src-address-list=proxy to-addresses=192.168.25.2 to-ports=3129
<--- /ip firewall mangle --->
- Código: Selecionar todos
/ip firewall mangle
add action=mark-connection chain=postrouting comment="proxy hits" content="X-Cache: HIT" new-connection-mark=proxy-hit
add action=mark-packet chain=postrouting connection-mark=proxy-hit new-packet-mark=proxy-hits
add action=mark-connection chain=postrouting comment="proxy tos12" dscp=12 new-connection-mark=tos-12 protocol=tcp
add action=mark-packet chain=postrouting connection-mark=tos-12 new-packet-mark=proxy-tos12
<--- /ip firewall address-list --->
- Código: Selecionar todos
/ip firewall address-list
add address=192.168.136.0/24 comment=clientes list=proxy
add address=192.168.25.2 comment=proxy list=sem_proxy
add address=54.207.52.0/24 comment=raidcall disabled=yes list=sem_proxy
<--- /queue type --->
- Código: Selecionar todos
/queue type
add kind=pcq name=cachefull pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=20M pcq-src-address6-mask=64
<--- /queue simples --->
- Código: Selecionar todos
/queue simple
add name=cachefull packet-marks=proxy-tos12 queue=cachefull/cachefull target=""
mk versao 5.x
<--- /queue tree --->
- Código: Selecionar todos
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=2M name="Proxy" packet-marks=proxy-tos12 parent=global-out priority=4 queue=default
obs.: a regra do cachell pra versao 6.x eu encontrei no forum do thundercache postado por um membro chamado pirigoso
masterbeto escreveu:video tutorial bfw paralelo mikrotik cachefull 6.12
como nao sei colocar direto o video do youtube, entao alguem ai edita e coloca depois
o video eu fiz passo a passo pra criar bfw paralelo ao mikrotik para cache de dns e http com lusca storeurl e funcionando o cachefull
http://youtu.be/qLavSAuiBCg
editado by Mascotmobile
http://www.youtube.com/watch?v=qLavSAuiBCg