no hace cache algo esta mal con la reglas
estoy usando debian 7.4 64bits, raptor 1.0.5. y un mikrotik v 6.12 las reglas son:
/ip route
add check-gateway=ping distance=1 gateway=10.10.10.2 routing-mark=raptor_route
add check-gateway=ping distance=1 gateway=10.57.2.27
/ip firewall mangle
add action=mark-routing chain=prerouting comment="Raptor - Mangle ===================>" dst-port=80 \
in-interface=local new-routing-mark=raptor_route protocol=tcp
add action=mark-connection chain=forward comment="** RAPTORCACHE **" content=\
"X-Cache: HIT from Raptor" new-connection-mark=raptor-connection
add action=mark-packet chain=forward connection-mark=raptor-connection new-packet-mark=raptor-packs \
passthrough=no
add action=mark-connection chain=forward comment="** SQUID - TOS 12 **" dscp=12 \
new-connection-mark=squid-connection
add action=mark-packet chain=forward connection-mark=squid-connection new-packet-mark=squid-packs
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN
add action=dst-nat chain=dstnat comment=SSH_Raptor dst-port=220 protocol=tcp to-addresses=\
10.10.10.2 to-ports=22
add action=dst-nat chain=dstnat comment=WEBADMIN_Raptor dst-port=82 protocol=tcp to-addresses=\
10.10.10.2 to-ports=82
/queue simple
add limit-at=4M/4M max-limit=4M/4M name=RAPTOR packet-marks=raptor-packs target=""
add limit-at=4M/4M max-limit=4M/4M name=SQUID packet-marks=squid-packs target=""
mi raptorcache: 10.10.10.2
1:WAN 10.57.2.28 255.255.255.252 10.57.2.27 DSN 8.8.8.8 8.8.4.4
2:LAN 192.168.1.1/24
3:raptorcache 10.10.10.1/30
4:sectorial1 192.168.10.1/24
5:sectorial2 192.168.20.1/24
6:sectorial3 192.168.30.1/24
7:sectorial4 192.168.40.1/24
internet------------mikrotik-----------hotspot-------------cliente
l
l
raptorcache
estoy usando debian 7.4 64bits, raptor 1.0.5. y un mikrotik v 6.12 las reglas son:
/ip route
add check-gateway=ping distance=1 gateway=10.10.10.2 routing-mark=raptor_route
add check-gateway=ping distance=1 gateway=10.57.2.27
/ip firewall mangle
add action=mark-routing chain=prerouting comment="Raptor - Mangle ===================>" dst-port=80 \
in-interface=local new-routing-mark=raptor_route protocol=tcp
add action=mark-connection chain=forward comment="** RAPTORCACHE **" content=\
"X-Cache: HIT from Raptor" new-connection-mark=raptor-connection
add action=mark-packet chain=forward connection-mark=raptor-connection new-packet-mark=raptor-packs \
passthrough=no
add action=mark-connection chain=forward comment="** SQUID - TOS 12 **" dscp=12 \
new-connection-mark=squid-connection
add action=mark-packet chain=forward connection-mark=squid-connection new-packet-mark=squid-packs
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN
add action=dst-nat chain=dstnat comment=SSH_Raptor dst-port=220 protocol=tcp to-addresses=\
10.10.10.2 to-ports=22
add action=dst-nat chain=dstnat comment=WEBADMIN_Raptor dst-port=82 protocol=tcp to-addresses=\
10.10.10.2 to-ports=82
/queue simple
add limit-at=4M/4M max-limit=4M/4M name=RAPTOR packet-marks=raptor-packs target=""
add limit-at=4M/4M max-limit=4M/4M name=SQUID packet-marks=squid-packs target=""
mi raptorcache: 10.10.10.2
1:WAN 10.57.2.28 255.255.255.252 10.57.2.27 DSN 8.8.8.8 8.8.4.4
2:LAN 192.168.1.1/24
3:raptorcache 10.10.10.1/30
4:sectorial1 192.168.10.1/24
5:sectorial2 192.168.20.1/24
6:sectorial3 192.168.30.1/24
7:sectorial4 192.168.40.1/24
internet------------mikrotik-----------hotspot-------------cliente
l
l
raptorcache