Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Nat:
/ip firewall nat
add action=dst-nat chain=dstnat comment=PROXY-CACHE-LUSCA-REDIRECT disabled=no d
st-port=80 protocol=tcp src-address=\
10.2.2.0/25 to-addresses=192.168.10.2 to-ports=3129
/ip firewall nat
add action=dst-nat chain=dstnat comment="Redirect BFW Cache" disabled=no dst-por
t=53 protocol=tcp src-address=192.168.10.0/24 \
to-addresses=192.168.10.2 to-ports=53
Mangle:
/ip firewall mangle
add action=mark-connection chain=postrouting comment="TOS 12====================
===========================================\
======================================================" disabled=no dscp=12
new-connection-mark=proxy-hits \
passthrough=yes protocol=tcp src-address=192.168.10.2
add action=mark-packet chain=postrouting connection-mark=proxy-hits disabled=no
new-packet-mark=proxy-squid passthrough=\
yes
add action=mark-connection chain=postrouting comment="PROXY-CACHE-LUSCA-bfw-cust
omize====================================================\
==================================================" content="X-Cache: HIT fr
om BFW Cache" disabled=no \
new-connection-mark=bfw-connection passthrough=yes protocol=tcp src-address=
192.168.10.2
add action=mark-packet chain=postrouting connection-mark=bfwcache-connection dis
abled=no new-packet-mark=bfwcache-packs \
passthrough=yes
add action=mark-connection chain=postrouting comment=\
"SERVER CACHE =============================================================
=========================================" \
content="X-Cache: HIT from BFW Cache" disabled=no new-connection-mark=bfw-co
nnection passthrough=yes protocol=tcp \
src-address=192.168.10.2