ato mungkin om :D
ato mungikin di tempat om remalanya yg kaco :D
mungkin lo om :D
trimenho itu gak masalah PB nya?
1 subnet sma om?
Printable View
okh berarti emang 2 linenya :D
nubi cb nyumbang om :)
mangle
Quote:
Code:add action=mark-connection chain=prerouting comment="Point Blank + poker" disabled=no dst-port=39190,49100,9339 new-connection-mark=games.c \
passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting comment="" disabled=no dst-port=40000-40010 new-connection-mark=games.c passthrough=yes protocol=udp
add action=mark-packet chain=forward comment="" connection-mark=games.c disabled=no new-packet-mark=games.p passthrough=no routing-mark=pppoe_1
imer mana ini :mad:
hehehe.... maap
intinya cmn pisahin dulu new, related dan established nya untuk masing2 line LB nya biar ga loncat2 .... mungkin itu rumus utama untuk metode PCCCode:http://apistech.wordpress.com/2010/04/05/pcc-balancing-untuk-non-http-dengan-external-proxy/
maap pemikiran nubi...
anu.... maap baru mampir... :th_explain:
yang pake PCC coba dipisahin dulu new related dan established nya... baik dari interface public dan local nya untuk port selain http....
misalnya untuk interface public kek gini...
nah lakukan hal yang sama untuk interface local port non-http baik di port udp dan tcp nyaQuote:
Code:add action=mark-connection chain=input comment="" connection-state=new \
disabled=no in-interface=pppoe_2 new-connection-mark=pppoe2_conn \
passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
disabled=no in-interface=pppoe_3 new-connection-mark=pppoe3_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=\
established disabled=no in-interface=pppoe_1 new-connection-mark=\
pppoe1_conn passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=\
established disabled=no in-interface=pppoe_2 new-connection-mark=\
pppoe2_conn passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=\
established disabled=no in-interface=pppoe_3 new-connection-mark=\
pppoe3_conn passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=\
related disabled=no in-interface=pppoe_1 new-connection-mark=pppoe1_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=\
related disabled=no in-interface=pppoe_2 new-connection-mark=pppoe2_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=\
related disabled=no in-interface=pppoe_3 new-connection-mark=pppoe3_conn \
passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe1_conn \
disabled=no new-routing-mark=pppoe_1 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=pppoe2_conn \
disabled=no new-routing-mark=pppoe_2 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=pppoe3_conn \
disabled=no new-routing-mark=pppoe_3 passthrough=no
add action=mark-connection chain=prerouting comment=\
abis itu mark routingnya deh....Quote:
Code:add action=mark-connection chain=prerouting comment="-ImeR- PCC RULE ---- MARK NON-HTTP CONN" connection-state=new disabled=no dst-address-type=!local dst-port=!80 in-interface=\
Local new-connection-mark=non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local dst-port=!80 in-interface=Local new-connection-mark=\
non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_1 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_2 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_3 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_1 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_2 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_3 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_1 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_2 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local in-interface=Local new-connection-mark=non.http_pppoe_3 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=udp
semoga membantu... maap ini cmn pemikiran nubi.... selama pake cara diatas sampe skr ga pernah nemuin kasus terdeteksi program illegal... :th_explain:
kirain punya ku aja yg timbang LB ny
gara2 poker sama PB biar bisa conak buat 1 gateway :th_not_happy:
hader..... :th_explain:
anu kemaren udah nyoba posting tapi ga keluar.... test lagi skr....
yang udah dicoba untuk PCC balancing disini markconn dari interface public untuk new, established dan related nya dulu...
kemudian markconn non-http baik tcp dan udp nya baik new, established dan related dari interface localCode:add action=mark-connection chain=input comment="-ImeR- PCC RULE ---- MARK ALL PPPoE CONN" connection-state=new disabled=no in-interface=pppoe_1 \
new-connection-mark=pppoe1_conn passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=pppoe_2 new-connection-mark=pppoe2_conn passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=pppoe_3 new-connection-mark=pppoe3_conn passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no in-interface=pppoe_1 new-connection-mark=pppoe1_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no in-interface=pppoe_2 new-connection-mark=pppoe2_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no in-interface=pppoe_3 new-connection-mark=pppoe3_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no in-interface=pppoe_1 new-connection-mark=pppoe1_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no in-interface=pppoe_2 new-connection-mark=pppoe2_conn \
passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no in-interface=pppoe_3 new-connection-mark=pppoe3_conn \
passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe1_conn disabled=no new-routing-mark=pppoe_1 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=pppoe2_conn disabled=no new-routing-mark=pppoe_2 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=pppoe3_conn disabled=no new-routing-mark=pppoe_3 passthrough=no
abis itu mark route nya deh...Code:add action=mark-connection chain=prerouting comment="-ImeR- PCC RULE ---- MARK NON-HTTP CONN" connection-state=new disabled=no dst-address-type=!local \
dst-port=!80 in-interface=Local new-connection-mark=non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local dst-port=!80 in-interface=Local \
new-connection-mark=non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=tcp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local in-interface=Local new-connection-mark=\
non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local in-interface=Local new-connection-mark=\
non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-type=!local in-interface=Local new-connection-mark=\
non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local in-interface=Local \
new-connection-mark=non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local in-interface=Local \
new-connection-mark=non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=established disabled=no dst-address-type=!local in-interface=Local \
new-connection-mark=non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local in-interface=Local new-connection-mark=\
non.http_pppoe_1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local in-interface=Local new-connection-mark=\
non.http_pppoe_2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1 protocol=udp
add action=mark-connection chain=prerouting comment="" connection-state=related disabled=no dst-address-type=!local in-interface=Local new-connection-mark=\
non.http_pppoe_3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2 protocol=udp
pake cara diatas ga ada masalah terdeteksi program illegal disini....Code:add action=mark-routing chain=prerouting comment="-ImeR- PCC RULE ---- MARK NON-HTTP ROUTE" connection-mark=non.http_pppoe_1 disabled=no new-routing-mark=\
pppoe_1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=non.http_pppoe_2 disabled=no new-routing-mark=pppoe_2 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=non.http_pppoe_3 disabled=no new-routing-mark=pppoe_3 passthrough=yes
moga2 postingan ini keluar....:th_explain:
semua senpai ada disini :th_explain:
numpang nyimak dan di praktekan ya om . thanks
ikutan TESTI ajah....dari hasil pemikiran dan settingan "mirip" dengan diatas
maslah nge HOP IP tidak terjadi lagi....
Penjelasan :th_idea:
pada rule PCC biasa tiap koneksi akan di state mark sebagai new saja. tanpa memperhatikan koneksi yang tengah berlangsung atau yang sedang berhubungan
dengan memberikan koneksi state estabilished dan related pada port 80 dan !port 80 maka mikrotik akan mencoba mempertahankan koneksi tersebut sampai sesinya telah berakhir.
sedangkan seperti yang kita tahu, game PB menggunakan metode session aplication game.(artinya game tersebut mengecek kevalidan user berdasarkan session yang di gunakan oleh user game dengan host server PB, jika session user PB nge hop IP pada saat berlangsungnya game, maka user tersbut sudah dianggap illegal session atau tidak valid lagi)
yang jadi pertanyaan:
apakah pada metode Nth juga dapat diberlakukan metode yang sama....???
untuk mengatasi gejala HOP IP (ip-nya meloncat)
:th_explain:
PRO: YANG LAIN...TESTINYA DUNKK, baik yang pake nth maupun ecmp
CMIIW
Greetz to Senpai ImeR dan UburcumY yang telah bersedia telekonferensi , bertukar pikiran mengenai settingan tersebut..:th_yell::th_sleep::th_drop3:
I'll Show You My Great RESPECT by Saying THANKS