Mungkin rekan-rekan pernah berfikir bagaimana memaksimalkan test bandwith pada jaringan hotspot, supaya client merasa lebih betah serta bisa menjadi pelanggan setia.
Dalam test ini saya menggunakan Mikrotik 6.44.6 (Long-term), langsung aja silahkan buka winbox kalo belum ada silahkan download dulu di sini.
- Buka Winbox
- Login Mikrotik
- Buka menu terminal, copy paste :
/ip firewall layer7-protocol
add name=TESTSPEED regexp="^.+(speedtest).*\\\$"
/ip firewall mangle
add action=mark-connection chain=forward comment=speedtest_conn layer7-protocol=TESTSPEED \
new-connection-mark=speedtest_conn passthrough=yes
add action=mark-connection chain=prerouting comment=speedtest_conn new-connection-mark=speedtest_conn \
passthrough=yes protocol=tcp src-port=8080
add action=mark-connection chain=postrouting comment=speedtest_conn dst-port=8080 new-connection-mark=\
speedtest_conn passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting comment=speedtest_pkt connection-mark=speedtest_conn \
new-packet-mark=speedtest_pkt passthrough=no
add action=mark-packet chain=postrouting comment=speedtest_pkt connection-mark=speedtest_conn \
new-packet-mark=speedtest_pkt passthrough=no
/queue type
add kind=pcq name=Speedtest-download-UNLIMIT pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=\
0 pcq-src-address6-mask=64
add kind=pcq name=Speedtest-upload-UNLIMIT pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-rate=\
0 pcq-src-address6-mask=64
/queue simple
add comment=Speedtest-UNLIMIT name=Speedtest-UNLIMIT packet-marks=speedtest_pkt queue=\
Speedtest-upload-UNLIMIT/Speedtest-download-UNLIMIT target=X.X.X.0/24
NB : IP Address X.X.X.0/24 disesuaikan dengan jaringan masing-masing
Comments
Post a Comment