cara Setting Mikrotik Supaya Seimbang Antara Browsing,Pointblank dan Poker
--Penyebab dari lag nya Pointblank,poker,browsing di antaranya yaitu tidak seimbangnya
Pembagian bandwidth di Mikrotik
--Supaya Ping dari Pointblank tidak drop maka harus anda sisakan bandwidth agar Ping tetap stabil
--Contoh saya punya bandwidth 2MB Upload dan 2MB Download berarti saya hanya gunakan 1,7MB untuk Browsing dan 300KB untuk Ping Pointblank dan Ping Poker
--Saya gunakan di sini queue tree yaitu limit bandwidth otomatis
--Dengan Queue Tree di Mikrotik bila anda sendiri yang menggunakan koneksi maka bandwidth full 1,7MB untuk anda,bila dua orang yang menggunakan koneksi Mikrotik akan otomatis membagi dua bandwidth bila tiga orang yang menggunakan koneksi maka Mikrotik otomatis membagi tiga bandwidth dan begitu seterusnya..
--Ok mari kita mulai:
--Jalankan Winbox dan Buka “New Terminal” Copykan perintah di bawah ini kemudian pastekan di “New Terminal”:
A.POINTBLANK
ip firewall mangle add chain=game action=mark-connection new-connection-mark=Game passthrough=yes protocol=tcp dst-address=203.89.146.0/23 dst-port=39190 comment=”Point Blank”
ip firewall mangle add chain=game action=mark-connection new-connection-mark=Game passthrough=yes protocol=udp dst-address=203.89.146.0/23 dst-port=40000-40010
ip firewall mangle add chain=game action=mark-packet new-packet-mark=Game_pkt passthrough=no connection-mark=Game
ip firewall mangle add chain=prerouting action=jump jump-target=game
queue type add name=”Game” kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address,dst-address,src-port,dst-port pcq-total-limit=2000
queue tree add name=”Game” parent=global-total packet-mark=Game_pkt limit-at=0 queue=Game priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
B.POKER
ip firewall mangle add chain=prerouting protocol=tcp dst-port=9339 connection-state=new action=mark-connection new-connection-mark=poker passthrough=yes comment="poker" disabled=no
ip firewall mangle add chain=prerouting connection-mark=poker action=mark-packet new-packet-mark=poker1 passthrough=no comment="" disabled=no
queue tree add name="poker mania" parent=global-out packet-mark=poker1 limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
C.BROWSING
ip firewall mangle add chain=forward action=mark-connection new-connection-mark=http passthrough=yes protocol=tcp in-interface=public out-interface=local packet-mark=!Game_pkt connection-mark=!Game connection-bytes=0-262146 comment=”BROWSE”
ip firewall mangle add chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no protocol=tcp connection-mark=http
queue type add name=”Http” kind=pcq pcq-rate=1700k pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
queue tree add name=”Main_Browse” parent=local limit-at=0 priority=8 max-limit=512k burst-limit=0 burst-threshold=0 burst-time=0s
queue tree add name=”Browse” parent=Main_Browse packet-mark=http_pkt limit-at=0 queue=Http priority=8 max-limit=1700k burst-limit=0 burst-threshold=0 burst-time=0s
--Untuk melihat perintah yang sudah berjalan anda bisa Klik di menu winbox “Ip” kemudian “Firewall” kemudian “Mangle”…seperti gambar di bawah ini:
Gambar kurang jelas…klik gambar untuk memperjelas!!!
--Kemudian klik “Queue” kemudian “Queue Tree” Double klik “Main Browse” kemudian anda ubah “Max Limit” 75 persen dari jumlah bandwidth anda…misalkan bandwidth anda 512Kb maka anda isikan “Max Limit” 350Kb begitu juga dengan "Browse"…seperti gambar di bawah ini:
Gambar kurang jelas…klik gambar untuk memperjelas!!!
Pembagian bandwidth di Mikrotik
--Supaya Ping dari Pointblank tidak drop maka harus anda sisakan bandwidth agar Ping tetap stabil
--Contoh saya punya bandwidth 2MB Upload dan 2MB Download berarti saya hanya gunakan 1,7MB untuk Browsing dan 300KB untuk Ping Pointblank dan Ping Poker
--Saya gunakan di sini queue tree yaitu limit bandwidth otomatis
--Dengan Queue Tree di Mikrotik bila anda sendiri yang menggunakan koneksi maka bandwidth full 1,7MB untuk anda,bila dua orang yang menggunakan koneksi Mikrotik akan otomatis membagi dua bandwidth bila tiga orang yang menggunakan koneksi maka Mikrotik otomatis membagi tiga bandwidth dan begitu seterusnya..
--Ok mari kita mulai:
--Jalankan Winbox dan Buka “New Terminal” Copykan perintah di bawah ini kemudian pastekan di “New Terminal”:
A.POINTBLANK
ip firewall mangle add chain=game action=mark-connection new-connection-mark=Game passthrough=yes protocol=tcp dst-address=203.89.146.0/23 dst-port=39190 comment=”Point Blank”
ip firewall mangle add chain=game action=mark-connection new-connection-mark=Game passthrough=yes protocol=udp dst-address=203.89.146.0/23 dst-port=40000-40010
ip firewall mangle add chain=game action=mark-packet new-packet-mark=Game_pkt passthrough=no connection-mark=Game
ip firewall mangle add chain=prerouting action=jump jump-target=game
queue type add name=”Game” kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address,dst-address,src-port,dst-port pcq-total-limit=2000
queue tree add name=”Game” parent=global-total packet-mark=Game_pkt limit-at=0 queue=Game priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
B.POKER
ip firewall mangle add chain=prerouting protocol=tcp dst-port=9339 connection-state=new action=mark-connection new-connection-mark=poker passthrough=yes comment="poker" disabled=no
ip firewall mangle add chain=prerouting connection-mark=poker action=mark-packet new-packet-mark=poker1 passthrough=no comment="" disabled=no
queue tree add name="poker mania" parent=global-out packet-mark=poker1 limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
C.BROWSING
ip firewall mangle add chain=forward action=mark-connection new-connection-mark=http passthrough=yes protocol=tcp in-interface=public out-interface=local packet-mark=!Game_pkt connection-mark=!Game connection-bytes=0-262146 comment=”BROWSE”
ip firewall mangle add chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no protocol=tcp connection-mark=http
queue type add name=”Http” kind=pcq pcq-rate=1700k pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
queue tree add name=”Main_Browse” parent=local limit-at=0 priority=8 max-limit=512k burst-limit=0 burst-threshold=0 burst-time=0s
queue tree add name=”Browse” parent=Main_Browse packet-mark=http_pkt limit-at=0 queue=Http priority=8 max-limit=1700k burst-limit=0 burst-threshold=0 burst-time=0s
--Untuk melihat perintah yang sudah berjalan anda bisa Klik di menu winbox “Ip” kemudian “Firewall” kemudian “Mangle”…seperti gambar di bawah ini:
Gambar kurang jelas…klik gambar untuk memperjelas!!!
--Kemudian klik “Queue” kemudian “Queue Tree” Double klik “Main Browse” kemudian anda ubah “Max Limit” 75 persen dari jumlah bandwidth anda…misalkan bandwidth anda 512Kb maka anda isikan “Max Limit” 350Kb begitu juga dengan "Browse"…seperti gambar di bawah ini:
Gambar kurang jelas…klik gambar untuk memperjelas!!!
selesai
Memisah Bandwidth Browsing dan Download di Winbox
Setting Manual Membagi Bandwith Otomatis pada Mangel, Queue Tree di Mikrotik | ORWIN
1. Membuat Ping Stabil
Guna dari pada ping stabil yaitu untuk membuat proses ping ketika pemakaian anda pada tapi kalau kita melakukan ping itu akan selalu stabil, perintahnya seperti berikut
/ip firewall mangle add
chain=prerouting protocol=icmp action=mark-connection
new-connection-mark=PING_STABIL passthrough=yes comment="PING_STABIL"
disabled=no
/ip firewall mangle add
chain=prerouting protocol=icmp connection-mark=PING_STABIL
action=mark-packet new-packet-mark=PING_PAKET passthrough=no
comment="PING_PAKET" disabled=no
/queue tree add
name="=KONDISI_PING_MULUS=" parent=global-total packet-mark=PING_PAKET
limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s
Berikut contoh jalan atau tidaknya proses diatas
2. Setting Mangle
/ip firewall mangle add
action=mark-connection chain=prerouting comment="TANDA SEMUA KONEKSI"
disabled=no in-interface=local new-connection-mark="SEMUA KONEKSI MASUK"
passthrough=yes
/ip firewall mangle add
action=mark-connection chain=forward disabled=no
new-connection-mark="SEMUA KONEKSI KELUAR" out-interface=local
passthrough=yes comment="SEMUA KONEKSI KELUAR"
/ip firewall mangle add
chain=prerouting action=mark-packet new-packet-mark="SEMUA PAKET MASUK"
passthrough=yes connection-mark="SEMUA KONEKSI MASUK" comment="SEMUA
PAKET MASUK"
/ip firewall mangle add
chain=forward action=mark-packet new-packet-mark="SEMUA PAKET KELUAR"
passthrough=yes connection-mark="SEMUA KONEKSI KELUAR" comment="SEMUA
PAKET KELUAR"
/ip firewall mangle add
action=mark-connection chain=prerouting comment="BROWSING CLIENT"
connection-mark="SEMUA KONEKSI MASUK" disabled=no
new-connection-mark="BROWSING KONEKSI" passthrough=yes protocol=tcp
/ip firewall mangle add
action=mark-connection chain=postrouting disabled=no dscp=1
new-connection-mark="ICMP KONEKSI" passthrough=yes comment="ICMP
KONEKSI"
/ip firewall mangle add chain=input protocol=tcp dst-port=8291 comment="MASUK WINBOX" action=mark-connection new-connection-mark=winbox passthrough=no
/ip firewall mangle add chain=input protocol=tcp dst-port=8291 comment="MASUK WINBOX" action=mark-connection new-connection-mark=winbox passthrough=no
Mangel Game
ip firewall mangle add
action=mark-connection chain=prerouting comment="POINT BLANK"
connection-mark="SEMUA KONEKSI MASUK" disabled=no dst-port=40000-40010
new-connection-mark="GAME KONEKSI" passthrough=yes protocol=udp
/ip firewall mangle add
action=mark-connection chain=prerouting comment="GAME POKER"
connection-mark="SEMUA KONEKSI MASUK" disabled=no dst-port=9339,843
new-connection-mark="GAME KONEKSI" passthrough=yes protocol=tcp
/ip firewall mangle add
action=mark-connection chain=prerouting comment="RF ONLINE"
connection-mark="SEMUA KONEKSI MASUK" disabled=no
dst-port=10001,10002,10003,10004,10005,10006,10007
new-connection-mark="GAME KONEKSI" passthrough=yes protocol=udp
/ip firewall mangle add
action=mark-packet chain=postrouting connection-mark="ICMP KONEKSI"
disabled=no new-packet-mark="ICMP PAKET" passthrough=no comment="ICMP
PAKET"
/ip firewall mangle add
action=mark-packet chain=forward comment="SEMUA GAME DIPAKETKAN"
connection-mark="GAME KONEKSI" disabled=no new-packet-mark="GAME PAKET"
passthrough=no
/ip firewall mangle add
action=mark-connection new-connection-mark="GAME KONEKSI"
chain=prerouting protocol=udp connection-mark="SEMUA KONEKSI MASUK"
comment="GAME CLIENT"
/ip firewall mangle add
action=mark-packet chain=forward comment="BROWSING PAKET"
connection-bytes=0-131072 connection-mark="BROWSING KONEKSI" disabled=no
new-packet-mark="BROWSING PAKET" passthrough=no protocol=tcp
/ip firewall mangle add
chain=forward src-address=192.168.50.0/24 action=mark-connection
new-connection-mark=AUTOMATICDOWNLOAD passthrough=yes
comment="===DOWNLOAD CLIENT==="
/ip firewall mangle add
chain=forward connection-mark=AUTOMATICDOWNLOAD action=mark-packet
new-packet-mark=AUTOMATIC passthrough=no comment="==AUTOMATIC CLIENT=="
3. Setting Queues Tree
/queue tree add burst-limit=0
burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0
name="ICMP PING" packet-mark="ICMP PAKET" parent=global-out priority=1
queue="default"
/queue tree add
burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name="+++TOTAL UPLOAD+++" packet-mark="SEMUA PAKET MASUK"
parent=public priority=4 queue=default
/queue tree add
burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name="+++TOTAL DOWNLOAD+++" packet-mark="SEMUA PAKET KELUAR"
parent=global-out priority=5
/queue tree add
burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name="GAME DOWNLOAD" packet-mark="GAME PAKET"
parent="+++TOTAL DOWNLOAD+++" priority=6 queue=default
/queue tree add
burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name="BROWSING PAKET" packet-mark="BROWSING PAKET"
parent="+++TOTAL DOWNLOAD+++" priority=7 queue=default
/queue tree add
burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name="+++TOTAL DOWNLOAD CLIENT+++" parent="+++TOTAL
DOWNLOAD+++" priority=8 packet-mark="SEMUA PAKET KELUAR"
/queue tree add
burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name=DOWNLOADS parent=public packet-mark=AUTOMATIC
queue=pcq-upload priority=8
/queue tree add
burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name="DOWNLOAD CLIENT" parent=global-out
packet-mark=AUTOMATIC queue=pcq-download priority=8
4. Setting Queues Type
/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
Tidak ada komentar:
Posting Komentar