Friday, November 4, 2011

mikrotik squid

/ip firewall mangle
add action=mark-packet chain=forward comment="squid" disabled=no dscp=12 new-packet-mark=mark-Hit passthrough=no

/queue tree
add name="2-squid" disabled=no max-limit=0 packet-mark=mark-Hit parent=global-out priority=2 queue=default


add chain=forward action=mark-connection new-connection-mark=mark-Hit passthrough=yes protocol=tcp src-address-list=proxy dst-address-list=local

add chain=forward action=mark-packet new-packet-mark=mark-Hit passthrough=no connection-mark=mark-Hit

No comments: