sharing sedikit tentang mikrotik bridge untuk bandwidth shaping yfi hotspot dengan koneksi speedy 2M

/ interface bridge
add name=”bridge1″
/ interface bridge port
add interface=ether2 bridge=bridge1
add interface=ether3 bridge=bridge1
/ interface bridge settings
set use-ip-firewall=yes

/ ip firewall mangle
add chain=prerouting protocol=tcp dst-port=80,53 action=mark-connection \
new-connection-mark=http_conn passthrough=yes
add chain=prerouting connection-mark=http_conn action=mark-packet \
new-packet-mark=http passthrough=no
add chain=prerouting p2p=all-p2p action=mark-connection \
new-connection-mark=p2p_conn passthrough=yes
add chain=prerouting connection-mark=p2p_conn action=mark-packet \
new-packet-mark=p2p passthrough=no
add chain=prerouting action=mark-connection new-connection-mark=other_conn \
passthrough=yes
add chain=prerouting connection-mark=other_conn action=mark-packet \
new-packet-mark=other passthrough=no
add chain=forward protocol=tcp dst-port=22,443,3990 action=mark-connection \
new-connection-mark=billing passthrough=yes
add chain=forward connection-mark=billing action=mark-packet \
new-packet-mark=billing passthrough=no
add chain=forward  action=mark-connection new-connection-mark=squid passthrough=yes dscp=12
add chain=forward connection-mark=squid action=mark-packet \
new-packet-mark=squid passthrough=no

/ queue simple
add name=”main” target-addresses=10.1.0.0/24 max-limit=unlimited/unlimited
add name=”http” parent=main packet-marks=http max-limit=512000/1700000 priority=1
add name=”p2p” parent=main packet-marks=p2p max-limit=64000/64000 priority=8
add name=”other” parent=main packet-marks=other max-limit=64000/256000 priority=4
add name=”billing” parent=main packet-marks=billing max-limit=10240000/10240000 priority=8
add name=”squid” parent=main packet-marks=squid max-limit=10240000/10240000 priority=8

untuk mengatasi IDM saya menggunakan delaypool squid, squid jadi satu sama yfi dan mikrotik ini saya tempatkan setelah tun0

oh ya.. tambahkan pada queue list, pada tab queue type, klik tanda +, isikan type name download, Kind pcq, centang Dst address, lalu klik ok, ulangi proses yg sama dengan type name upload centang src address
lalu pada masing2 queue simple klik dua kali, pada tab advance rubah queue type menjadi download pada target download dan upload pada target upload

dikutip dari post-ku di http://opensource.telkomspeedy.com/forum/viewtopic.php?id=8439&p=20, sebagai pengingat saja