Sunday, 10 November 2013

web-proxy : mangle


/ip firewall mangle
add action=mark-packet chain=output comment="" disabled=no new-packet-mark=tcp-hit 
out-interface="= SPEEDY =" passthrough=no
add action=mark-packet chain=prerouting comment="" disabled=no in-interface="H-Spot
 >>" new-packet-mark=upload passthrough=no src-address=192.168.10.0/24
add action=mark-packet chain=prerouting comment="" disabled=no in-interface="W-Net
 >>" new-packet-mark=upload passthrough=no src-address=192.168.20.0/24
add action=mark-packet chain=prerouting comment="" disabled=no in-interface="X-Link
 >>" new-packet-mark=upload passthrough=no src-address=192.168.200.0/24
add action=mark-connection chain=forward comment="" disabled=no new-connection-
mark="cli-conn hotspot" passthrough=yes src-address=192.168.10.0/24
add action=mark-connection chain=forward comment="" disabled=no new-connection-
mark="cli-conn warnet" passthrough=yes src-address=192.168.20.0/24
add action=mark-connection chain=forward comment="" disabled=no new-connection-
mark="cli-conn xlink" passthrough=yes src-address=192.168.200.0/24
add action=mark-packet chain=forward comment="" connection-mark="cli-conn hotspot" 
disabled=no in-interface="= SPEEDY =" new-packet-mark=download-hotspot 
passthrough=no
add action=mark-packet chain=forward comment="" connection-mark="cli-conn warnet"
 disabled=no in-interface="= SPEEDY =" new-packet-mark=download-warnet 
passthrough=no
add action=mark-packet chain=forward comment="" connection-mark="cli-conn xlink" 
disabled=no in-interface="= SPEEDY =" new-packet-mark=download-xlink 
passthrough=no
add action=mark-packet chain=output comment="" disabled=no dst-
address=192.168.10.0/24 new-packet-mark=download-hotspot out-interface="H-Spot >>" passthrough=no
add action=mark-packet chain=output comment="" disabled=no dst-
address=192.168.20.0/24 new-packet-mark=download-warnet out-interface="W-Net >>" passthrough=no
add action=mark-packet chain=output comment="" disabled=no dst-
address=192.168.200.0/24 new-packet-mark=download-xlink out-interface="X-Link >>" 
passthrough=no


0 komentar:

Post a Comment

Copyright © 2013 GreenLand | Powered by Blogger | Design n Blogger Theme by Koplix |