web-proxy and queue

Ello

Is it posible to configure my MT 2.9.14 that a user using web-proxy downloads a file from internet and the file is cached on web-proxy it goes unlimited speed
but if the file is not cached in the web-proxy then download speed is limited for example 512/128 kbps for that user.
If it’s posible can anyone gave me example how to do it.


Zdrówko :slight_smile:

Seach the forums, i think there is a thread talking about what you need..

Regards


José Ignacio Acosta
Cibernet Comunicaciones / Mikronet
Joaquín V. González
Salta - Argentina
http://www.mikronet.com.ar
http://www.cibernetcom.com.ar

I’ll be very pleased if you could show me where is it. Because I can’t find it.

Here is one…

http://forum.mikrotik.com//viewtopic.php?t=5878&highlight=unlimited+cashe


José Ignacio Acosta
Cibernet Comunicaciones / Mikronet
Joaquín V. González
Salta - Argentina
http://www.mikronet.com.ar
http://www.cibernetcom.com.ar

You can simply filter webproxy download traffic from all other traffic!


/ ip firewall mangle
add chain=prerouting in-interface=public dst-address=1.1.1.1 protocol=tcp src-port=80 action=mark-connection new-connection-mark=proxy_conn passthrough=yes comment=“Webproxy traffic”
add chain=prerouting in-interface=public connection-mark=proxy_latvia_conn action=mark-packet new-packet-mark=proxy_download passthrough=no
add chain=prerouting src-address-list=clients_business action=mark-connection new-connection-mark=client_conn passthrough=yes comment=“Client traffic”
add chain=prerouting connection-mark=client_conn dst-address-list=latviaaction=mark-packet new-packet-mark=client_traffic passthrough=no


Then just place limitations on other traffic and leave webproxy traffic unlimited