TCH7
-
Upload
claudio-peixoto -
Category
Documents
-
view
14 -
download
0
Transcript of TCH7
7/16/2019 TCH7
http://slidepdf.com/reader/full/tch7 1/2
###################################################################link para baixar a iso do debian
http://cdimage.debian.org/debian-cd/6.0.2.1/amd64/iso-cd/debian-6.0.2.1-amd64-netinst.iso
LINK PARA CADASTRO NA BM
http://www.bmsoftware.org/new/index.php?pg=ccddb
###########################################################INSTALANDO O THUNDER CACHE PROFISSIONAL comandos
apt-get install zip unzipwget www.routero-os.com/thunder/thunder_linux.zip
unzip thunder_linux.zip
cd thunder_linux
chmod +x *.sh
./install.sh
###########################################################REGRAS PARA M IKROTIK
/ip firewall filteradd action=accept chain=forward comment="Aceita thunder" disabled=no \
src-address=192.200.10.0/29
/ip firewall natadd action=dst-nat chain=pre-hotspot comment="REDIRECT_THUNDER" disabled=yes \
dst-address-list=!sem_cache dst-port=80 hotspot=auth in-interface=Local \
protocol=tcp src-address=10.0.0.0/8 to-addresses=192.200.10.6 to-ports=8080
/ip firewall mangleadd action=mark-connection chain=forward comment="CACHE FULL X:HITS=============\
===============================================================" content=\"X-Cache: HIT" disabled=no new-connection-mark=forward-hits passthrough=yes
add action=mark-packet chain=forward connection-mark=forward-hits disabled=no \dscp=0 new-packet-mark=cache-hits passthrough=no
add action=mark-connection chain=postrouting comment="THUNDER CACHE 6" content=\"X-Cache: HIT from Thunder" disabled=no new-connection-mark=\thunder6-connection passthrough=yes
add action=mark-packet chain=postrouting connection-mark=thunder6-connection \disabled=no new-packet-mark=thunder6-packs passthrough=no
/queue treeadd burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=ThunderCache6 packet-mark=thunder6-packs parent=global-out\
priority=1 queue=default