Hello guys !
Can somebody help me with this situation:
I want to transparent proxy big http downloads to parent proxy but for now without succes:
Here is what I try for now:
This mangle is working for qos …
/ip firewall mangle
add action=mark-packet chain=prerouting comment=\
"QoS_6 (big-files) supose download files" connection-bytes=1000000-0 \
disabled=no in-interface=wan1 new-packet-mark=QoS_6_Down passthrough=no \
protocol=tcp src-port=80,443
This is nat redirection for web proxy:
/ip firewall nat
add action=redirect chain=dstnat comment=\
"transparent proxy - hotspot net for big files" disabled=no dst-port=80 \
in-interface=hotspot packet-mark=QoS_6_Down protocol=tcp src-address=\
192.168.3.0/24 to-ports=3130
add action=redirect chain=dstnat comment="transparent proxy - hotspot net" \
disabled=no dst-port=80 in-interface=hotspot protocol=tcp src-address=\
192.168.3.0/24 to-ports=3130
When I use this and watch out bytes (or packet) is growning in secound rule but not in first one .
Proxy is up and running fine also parent is up (squid) and cashe everything … right now is all go via proxy. But I want to somehow mangle only big files and via nat rule redirect to proxy local then parent … or maybe direct to parent …
Can somebody help me with this situation?
Thanks!