webproxy

hi if somebody can help me disable shaping on my cached objects in the webproxy
i am running 2.9.6 mt
i need clients to get anything cached in webproxy with lan speed and everything coming from the internet directly to obey to shaping is that possible?

hi jowi007
pls if u were able to do it tell me cause i am having the same problem but with no sucess.
thanks

Example of using global-in and global-out queues

Let us consider a situation when you are using a Web-Proxy on your MikroTik router and you want
to use bandwidth limitation to/from Internet and allow the maximum speed available if the clients
use proxy-data (or do uploads to the router). In this situation you can use global-in and global-out
virtual interfaces. Remember that data from Web-Proxy is sent to clients from Local Process. See
this diagram for a better understanding of packet flow through the router.

\

  1. Assume that you already have configured your web-proxy:

[admin@MikroTik] ip web-proxy> print
enabled: yes
src-address: 10.5.8.104
port: 8080
hostname: proxy
transparent-proxy: no
parent-proxy: 0.0.0.0:0
cache-administrator: webmaster
max-object-size: 4096 kB
cache-drive: system
max-cache-size: none
status: running
reserved-for-cache: 100 MB

  1. Add a mangle rule for marking all packets coming from interface Public:
    /ip firewall mangle add in-interface=Public mark-flow=all-down action=accept
    Add a mangle rule for marking all packets coming from interface Local:
    /ip firewall mangle add in-interface=Local mark-flow=all-up action=accept

  2. Add a queue tree rule that will limit all traffic coming from interface Public (flow=all-down)
    to 512kbps:
    /queue tree add parent=global-in max-limit=524288 flow=all-down
    Add a queue tree rule that will limit all traffic coming from interface Local (flow=all-up) to
    256kbps:
    /queue tree add parent=global-out max-limit=262144 flow=all-up

Now the client downloads from the router (proxy) will be unlimited, but downloads from the
Internet will be limited to 512K! The same goes for uploads - no limitation if you are uploading to
router, but limit all uploads to Internet to 256K.

if using simple queue just cap public interface, target address=client ip