TP-PROXY MANGLE MIKROTIK
UNTUK MANAGE BANDWIDTH MANGLE DIHARAPKAN TP-PROXY DI SIMPAN DI BAWAN MANAGE BW
/ip firewall mangle
add action=mark-packet chain=postrouting comment="======================PROXY-HIT======================" disabled=no dscp=12 new-packet-mark=proxy_hit passthrough=no
add action=mark-routing chain=prerouting comment="======================TP-PROXY======================" disabled=no dst-port=80,8080 in-interface=ether3-HOTSPOT new-routing-mark=tproxy_rm passthrough=no protocol=tcp
add action=mark-connection chain=prerouting disabled=no dst-port=80,8080 in-interface=ether2-PROXY new-connection-mark=tproxy_cm passthrough=yes protocol=tcp src-address=!192.168.2.3
add action=mark-routing chain=prerouting connection-mark=tproxy_cm disabled=no in-interface=!ether2-PROXY new-routing-mark=tproxy_rm passthrough=no
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.3 routing-mark=tproxy_rm scope=30 target-scope=10
/queue tree
add name="0.PROXY-HIT" parent=global packet-mark=proxy_hit priority=1 max-limit=80M
0 komentar:
Posting Komentar