Community discussions

MikroTik App
 
wirelesspeople
just joined
Topic Author
Posts: 11
Joined: Tue Dec 07, 2004 3:55 pm
Location: Poland

web-proxy and queue

Mon Feb 27, 2006 5:40 pm

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 :)
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Re: web-proxy and queue

Mon Feb 27, 2006 6:11 pm

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 :)
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
 
wirelesspeople
just joined
Topic Author
Posts: 11
Joined: Tue Dec 07, 2004 3:55 pm
Location: Poland

Mon Feb 27, 2006 9:11 pm

I'll be very pleased if you could show me where is it. Because I can't find it.
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Tue Feb 28, 2006 3:37 am

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.ph ... ited+cashe

--
José Ignacio Acosta
Cibernet Comunicaciones / Mikronet
Joaquín V. González
Salta - Argentina
http://www.mikronet.com.ar
http://www.cibernetcom.com.ar
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1764
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Tue Feb 28, 2006 10:13 am

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

Who is online

Users browsing this forum: alixviral, jaclaz, megabytenet and 176 guests