Breaking News
Loading...
20 November 2011

Setingan Pemisah Browsing dan Download Via Mikrotik

Hasil Saduran dari Forum Mikrotik gan postingan agan Clovanso
sebagai referensi saya supaya tidak lupa kalo misal seting ulang mikrotik saya hehehe soalnya dengan setingan ini bisa hit di mesin saya
mangle
Code:

chain=prerouting protocol=tcp dst-port=80 dst-address-list=!nice action=mark-connection new-connection-mark=http_conn passthrough=yes

chain=prerouting connection-mark=http_conn connection-bytes=0-131072 action=mark-packet new-packet-mark=browsing passthrough=no

chain=output connection-mark=http_conn connection-bytes=0-131072 action=mark-packet new-packet-mark=browsing passthrough=no

chain=prerouting connection-mark=http_conn connection-bytes=131073-4294967295 action=mark-packet new-packet-mark=download passthrough=no

chain=output connection-mark=http_conn connection-bytes=131073-4294967295 action=mark-packet new-packet-mark=download passthrough=no



pada queue type
Code:
name="browsing" kind=pcq pcq-rate=512000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000

name="download" kind=pcq pcq-rate=32000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000


pada queue tree
Code:
name="clovanzo" parent=LAN packet-mark="" limit-at=10000000 queue=default priority=3 max-limit=10000000 burst-limit=0 burst-threshold=0 burst-time=0s
name="client_browsing" parent=clovanzo packet-mark=browsing limit-at=0 queue=browsing priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
name="client_download" parent=clovanzo packet-mark=download limit-at=0 queue=download priority=8 max-limit

0 komentar:

Post a Comment

 
Toggle Footer