Ola amigos, fiz como segue o tutorial, mas as regras não saem do 0, não marca as rotas nem as connection
fiz ate aquela parte do fw.sh e não marca nada
apenas as regras do mangle nao funciona
segue as regras
ip raptor = 172.16.20.2
ip clientes = 10.0.0.0/8
lan = ether3
EDITADO: Por Firecold
fiz ate aquela parte do fw.sh e não marca nada
apenas as regras do mangle nao funciona
segue as regras
ip raptor = 172.16.20.2
ip clientes = 10.0.0.0/8
lan = ether3
Código (mk) [Seleccionar]
/ip firewall filter
add action=accept chain=forward comment="Acepta RaptorCache" disabled=yes src-address=172.16.20.0/29
/ip firewall nat
add action=dst-nat chain=dstnat comment="Redirect Raptorcache" disabled=yes dst-port=80 protocol=tcp src-address=!172.16.20.2 to-addresses=172.16.20.2 to-ports=3128
/ip route
add check-gateway=ping disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=172.16.20.2 routing-mark=raptor_route scope=30 target-scope=10
/ip firewall mangle
add action=mark-routing chain=prerouting comment="Raptor-Mangle====================>" dst-port=80 in-interface=ether3 new-routing-mark=raptor_route passthrough=no protocol=tcp disabled=no
add action=mark-connection chain=forward comment="==RAPTORCACHE==" content="X-Cache:HITfromRaptor" disabled=no new-connection-mark=raptor-connection passthrough=yes
add action=mark-packet chain=forward connection-mark=raptor-connection disabled=no new-packet-mark=raptor-packs passthrough=no
add action=mark-connection chain=forward comment="==SQUID-TOS 12==" disabled=no dscp=12 new-connection-mark=squid-connection passthrough=yes
add action=mark-packet chain=forward connection-mark=squid-connection disabled=no new-packet-mark=squid-packs passthrough=yes
EDITADO: Por Firecold