Hello Folks!
I face some kind of challenge.
I followed this guide: http://wiki.mikrotik.com/wiki/Queue_with_Masquerading_and_Internal_Web-Proxy
One thing is that global-in is not found anymore.
All works except for uploads, they just pass through it and is not queued.
I did try to add upload parent public and fiddled around.
I have been using the mangle and queues for many years with success, I did never queue proxy before, but now it is time. Basically I only added and modified the guide links to suit my test system, and put the proxy mangle stuff in front of p2p stuff, and then added the proxy download and upload stuff to queues.
Anyone who know what to do, maybe I do some simple stupid thing, don’t know. ![]()
Here is the config:
/ip firewall mangle
add action=mark-packet chain=output comment=“HIT TRAFFIC FROM PROXY” dscp=4 new-packet-mark=proxy-hit out-interface=bridge1 passthrough=no
add action=mark-packet chain=prerouting comment=“UP TRAFFIC” in-interface=bridge1 new-packet-mark=test-up passthrough=no src-address=192.168.88.0/24
add action=mark-connection chain=forward comment=CONN-MARK new-connection-mark=test-conn src-address=192.168.88.0/24
add action=mark-packet chain=forward comment=“DOWN-DIRECT CONNECTION” connection-mark=test-conn in-interface=ether1 new-packet-mark=test-down
passthrough=no
add action=mark-packet chain=output comment=“DOWN-VIA PROXY” dst-address=192.168.88.0/24 new-packet-mark=test-down out-interface=bridge1 passthrough=no
add action=mark-connection chain=forward comment=SURF new-connection-mark=surf p2p=!all-p2p
add action=mark-packet chain=forward comment=SURF connection-mark=surf new-packet-mark=packet-surf
add action=mark-connection chain=forward comment=P2P new-connection-mark=p2p p2p=all-p2p
add action=mark-packet chain=forward comment=P2P connection-mark=p2p new-packet-mark=packet-p2p
/queue tree
add max-limit=24M name=nerladdning parent=bridge1 priority=1 queue=default
add max-limit=5M name=p2p-in packet-mark=packet-p2p parent=nerladdning queue=pcq-nerladdning2mbit
add max-limit=24M name=surf-in packet-mark=packet-surf parent=nerladdning priority=2 queue=pcq-nerladdning24m
add max-limit=2500k name=uppladdning parent=ether1 priority=1 queue=default
add max-limit=256k name=p2p-ut packet-mark=packet-p2p parent=uppladdning queue=pcq-uppladdning512kbit
add limit-at=1500k max-limit=2500k name=surf-ut packet-mark=packet-surf parent=uppladdning priority=2 queue=pcq-uppladdning2.5m
add max-limit=24M name=downstream packet-mark=test-down parent=nerladdning priority=3 queue=pcq-nerladdning24m
add limit-at=1500k max-limit=2500k name=upstream packet-mark=test-up parent=uppladdning priority=3 queue=pcq-uppladdning2.5m