Sysnet Board คู่มือ การใช้งานอุปกรณ์ Network

การ Config อุปกรณ์ เครือข่าย Network Device => อุปกรณ์ Mikrotik Router => หัวข้อที่ตั้งโดย: yod เมื่อ วันที่ 19 มีนาคม 2011, 16:24:07

ชื่อ: แยกเส้น Net เส้น Game ด้วย Mikrotik RouterBoard
โดย: yod เมื่อ วันที่ 19 มีนาคม 2011, 16:24:07

แยกเส้น Net เส้น Game ด้วย Mikrotik RouterBoard



สวัสดีครับ

หัวข้อนี้จะเป็นการแยกเส้น Internet (Web) และ เส้น Game ในกรณีที่ใช้งาน Mikrotik RouterBoard ในลักษณะ LoadBalance ครับ


1. Login เข้า Winbox

2. Copy Script ด้านล่างลงใน New Terminal

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-001.gif)


3. ตรวจสอบ Mangle Rules

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-002.gif)


4. เข้า Menu IP --> Route
สมมุติผมจะให้ PPPoE-Out2 เป็นเส้นสำหรับ Game นะครับ
Click Add
เลือก Gateway เป็น pppoe-out2
เลือก Routing Mask เป็น game
จากนั้น Click [OK]

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-003.gif)

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-004.gif)

ส่วน PPPoE Out1 เส้นสำหรับออก web ทั่วๆไป
Click Add
เลือก Gateway เป็น pppoe-out1
เลือก Routing Mask เป็น www
จากนั้น Click [OK]

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-005.gif)



ตัวอย่าง ผมให้เส้น Game ออก ที่ ether3-local ซึ่งผมได้ทำเพื่อทดสอบไว้ครับ

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-006.gif)


พอเล่น Game ในส่วน Traffic จะวิ่งอยู่ที่ Port Ethernet 3

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-007.gif)


ทีนี้ถ้ามีเกมส์ใหม่ๆมา ให้ตรวจสอบจาก web game ที่ใช้ครับ ว่า game ที่เล่นใช้ Port อะไร หรืออาจจะ Search ใน google ก็ได้ครับ
Game ของ Asia Soft ณ.ปัจจุบัน ผมรวบรวมไว้อยู่ในหัวข้อ หมายเลข Port Game ของ AsiaSoft (https://www.sysnetcenter.com/board/index.php/topic,503.0/)

ตัวอย่างจะเป็น Game Cabal ครับ ซึ่ง Server จะเป็น 203.144.179.0 หมายเลข TCP Port 16000-16151


เข้า Menu --> IP --> Firewall --> Mangle ให้ Click [ + ]
ที่ Tab General เลือกดังนี้ครับ
Chain: prerouting
Dst. Address 203.144.179.0/24
Protocal: tcp
Dst. Port: 16000-161510

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-010.gif)

Tab Action
Action: mask routing
New Routing Mask: game

(https://www.sysnetcenter.com/board/images/routerboard/routeros-port-route/routeros-port-route-011.gif)

จากนั้น Click [OK]



เรียบร้อยครับ


Script นี้ได้จากคุณ CommanddeR ใน mikrotikclub

/ ip firewall mangle
add chain=prerouting src-address=10.10.10.0/24 dst-address=0.0.0.0/0 \
   protocol=tcp dst-port=21 action=mark-routing new-routing-mark=ftp \
   passthrough=yes comment="ftp" disabled=no

add chain=prerouting src-address=10.10.10.0/24 dst-address=0.0.0.0/0 \
   p2p=bit-torrent action=mark-routing new-routing-mark=bit passthrough=yes \
   comment="p2p" disabled=no

add chain=prerouting protocol=tcp dst-port=80 action=mark-routing \
   new-routing-mark=www passthrough=yes comment="http" disabled=no

add chain=prerouting src-address=10.10.10.0/24 dst-address=0.0.0.0/0 \
   protocol=tcp dst-port=443 action=mark-routing new-routing-mark=https \
   passthrough=yes comment="https" disabled=no

add chain=prerouting protocol=tcp dst-port=1863 action=mark-routing \
   new-routing-mark=msn passthrough=yes comment="msn" disabled=no

add chain=prerouting protocol=tcp dst-port=53 action=mark-routing \
   new-routing-mark=dns passthrough=yes comment="dns" disabled=no

add chain=prerouting protocol=udp dst-port=53 action=mark-routing \
   new-routing-mark=dns passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=554 action=mark-routing \
   new-routing-mark=tv passthrough=yes comment="TV-Online" disabled=no

add chain=prerouting protocol=udp dst-port=554 action=mark-routing \
   new-routing-mark=tv passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=1755 action=mark-routing \
   new-routing-mark=tv passthrough=yes comment="" disabled=no

add chain=prerouting protocol=udp dst-port=1755 action=mark-routing \
   new-routing-mark=tv passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=17567 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="SCRIPT \
   GAMESONLINE - BF2" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=17567 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=17657 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=17657 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=16567 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=16567 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=16568 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=16568 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=19567 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=19567 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=39900 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=39900 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=29900-29910 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=29900-29910 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=61.90.227.0/24 protocol=tcp \
   dst-port=4000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Asiasoft games - Audition,Maple,TwelveSky2" \
   disabled=no

add chain=prerouting dst-address=203.144.130.0/24 protocol=tcp \
   dst-port=4000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Asiasoft games - Ghost,Sudden attack" disabled=no

add chain=prerouting dst-address=203.144.132.0/24 protocol=tcp \
   dst-port=4000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Asiasoft games - Ge,Summoner,Richman,Wffm" \
   disabled=no

add chain=prerouting dst-address=203.144.137.0/24 protocol=tcp \
   dst-port=4000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Asiasoft games - Ts" disabled=no

add chain=prerouting dst-address=203.144.179.0/24 protocol=tcp \
   dst-port=4000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Asiasoft games - Freestyle,Yulgang,Atlantica" \
   disabled=no

add chain=prerouting dst-address=203.144.166.0/24 protocol=tcp \
   dst-port=4000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Asiasoft games - Dekaron" disabled=no

add chain=prerouting dst-address=203.144.244.0/24 protocol=tcp \
   dst-port=4000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=38100-38200 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="Asiasoft games - Cabal server" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=50000-50010 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="Asiasoft games - Dekaron server" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=4229 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="Asiasoft games - Freestyle" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=5000 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="Asiasoft games - Ragnarok server" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=6900 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=61.90.227.0/24 protocol=tcp \
   dst-port=11100-11900 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Asiasoft games - TwelveSky2" disabled=no

add chain=prerouting dst-address=210.86.180.0/24 protocol=tcp \
   dst-port=13400-13450 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Getamped" disabled=no

add chain=prerouting dst-address=210.86.180.0/24 protocol=tcp \
   dst-port=10050-10060 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=203.113.10.0/24 protocol=tcp \
   dst-port=9000-9153 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Talesrunner" disabled=no

add chain=prerouting dst-address=61.90.252.0/24 protocol=tcp \
   dst-port=2100-3000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Linage2" disabled=no

add chain=prerouting dst-address=61.90.252.0/24 protocol=tcp dst-port=7777 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=61.90.203.0/24 protocol=tcp \
   dst-port=27900-28000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Special force" disabled=no

add chain=prerouting dst-address=61.90.203.0/24 protocol=udp \
   dst-port=20000-21000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=61.90.203.0/24 protocol=udp \
   dst-port=27900-28000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=61.47.57.0/24 protocol=tcp dst-port=6680-6700 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="PlayPlus+ games - Pvp" disabled=no

add chain=prerouting dst-address=58.97.46.0/24 protocol=tcp dst-port=790-800 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="PlayPlus+ games - Hipstreet" disabled=no

add chain=prerouting dst-address=58.97.46.0/24 protocol=tcp dst-port=4000 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=61.91.72.0/24 protocol=tcp \
   dst-port=39190-40010 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Point Blank" disabled=no

add chain=prerouting dst-address=61.91.72.0/24 protocol=udp \
   dst-port=39190-40010 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=58.147.89.0/24 protocol=tcp \
   dst-port=2100-2200 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Raycity" disabled=no

add chain=prerouting dst-address=61.91.68.0/24 protocol=tcp \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="PlayPlus+ games - Fifa2" disabled=no

add chain=prerouting dst-address=58.147.89.0/24 protocol=tcp \
   dst-port=2180-2200 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=61.91.69.0/24 protocol=tcp \
   dst-port=36000-40000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - KartRider" disabled=no

add chain=prerouting dst-address=58.147.89.0/24 protocol=tcp \
   dst-port=29990-30100 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Zone4" disabled=no

add chain=prerouting dst-address=203.113.10.0/24 protocol=tcp \
   dst-port=2100-2600 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="PlayPlus+ games - Wedo" disabled=no

add chain=prerouting dst-address=61.47.6.0/24 protocol=tcp \
   dst-port=14400-14900 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Jaya games - Darkstory" disabled=no

add chain=prerouting dst-address=202.43.34.0/24 protocol=tcp \
   dst-port=14800-15800 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Jaya games - Luna" disabled=no

add chain=prerouting dst-address=202.43.36.0/24 protocol=tcp \
   dst-port=14800-15800 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=202.43.36.0/24 protocol=tcp \
   dst-port=9000-9010 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Jaya games - Ex3" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=9191 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=9201 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=9211 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=9221 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=202.43.33.0/24 protocol=tcp \
   dst-port=5000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Winner games - Xshot,Cso,Ace,Super \
   dance,Ryl,Zero" disabled=no

add chain=prerouting dst-address=202.43.33.0/24 protocol=udp \
   dst-port=5000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=202.43.34.0/24 protocol=udp \
   dst-port=5000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=202.43.34.0/24 protocol=tcp \
   dst-port=5000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=202.43.35.0/24 protocol=tcp \
   dst-port=5000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=202.43.35.0/24 protocol=udp \
   dst-port=5000-60000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=202.43.33.0/24 protocol=tcp dst-port=1818 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Winner \
   games - Seal Plus" disabled=no

add chain=prerouting dst-address=202.43.33.0/24 protocol=tcp dst-port=1919 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=202.43.34.0/24 protocol=tcp dst-port=1818 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=202.43.34.0/24 protocol=tcp dst-port=1919 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=202.43.35.0/24 protocol=tcp dst-port=1818 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=202.43.35.0/24 protocol=tcp dst-port=1919 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=27700-27800 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Winner \
   games - Rf" disabled=no

add chain=prerouting dst-address=202.170.113.68 protocol=tcp dst-port=6001 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Winner \
   games - Level X" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=1899 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="Cubizone games - Perfaceworld" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=29000 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=61.91.123.0/24 protocol=tcp \
   dst-port=5000-50000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Cubizone games - Q-World,Dragonica" disabled=no

add chain=prerouting dst-address=61.91.122.0/24 protocol=tcp \
   dst-port=5000-50000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Cubizone games - ZhuXian,Drift Street,Nostale" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=2401 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="Cubizone games - Drift Street UDP" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=2401 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=58.64.24.0/24 protocol=tcp \
   dst-port=5000-50000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Ini3 games - Fanta tennis,Pangya" disabled=no

add chain=prerouting dst-address=58.64.28.0/24 protocol=tcp \
   dst-port=5000-50000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Ini3 games - Blackrogu" disabled=no

add chain=prerouting dst-address=202.43.35.0/24 protocol=tcp \
   dst-port=9000-9010 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Onnud20 games - 9hero" disabled=no

add chain=prerouting dst-address=202.170.121.0/24 protocol=tcp \
   dst-port=5000-50000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Onnud20 games - Six saint,Ws" disabled=no

add chain=prerouting dst-address=217.110.102.0/24 protocol=tcp \
   dst-port=28000-38920 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Inter games - S4league" disabled=no

add chain=prerouting dst-address=64.93.83.175 protocol=tcp dst-port=7880-7890 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Inter \
   games - dekaron" disabled=no

add chain=prerouting dst-address=125.211.204.0/24 protocol=tcp dst-port=4001 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Inter \
   games - SD Gundam china" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=3001 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=210.48.144.0/24 protocol=tcp \
   dst-port=5555-6000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Inter games - WS" disabled=no

add chain=prerouting dst-address=116.211.29.0/24 protocol=tcp \
   dst-port=7777-15000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Inter games - Aion chaina" disabled=no

add chain=prerouting dst-address=61.47.6.0/24 protocol=tcp dst-port=6877-7716 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Funbox \
   - Hyo" disabled=no

add chain=prerouting dst-address=61.47.39.0/24 protocol=tcp dst-port=6877-7716 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=122.155.2.0/24 protocol=tcp \
   dst-port=4000-50000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Funbox - Funbox ALL GameOnline" disabled=no

add chain=prerouting dst-address=202.57.164.75-202.57.164.85 protocol=tcp \
   dst-port=1150-1200 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Orion - Rounes Of Magic" disabled=no

add chain=prerouting dst-address=61.91.127.0/24 protocol=tcp \
   dst-port=12001-12400 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Other games - Eco" disabled=no

add chain=prerouting dst-address=61.19.255.41 protocol=tcp dst-port=100-300 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Other \
   games - N-age" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=10006 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Other \
   games - Tricket" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=22006 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp dst-port=27000-27110 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Other \
   games - Conter-Strike" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=27000-27110 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=203.150.228.0/24 protocol=tcp dst-port=28961 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Other \
   games - COD4" disabled=no

add chain=prerouting dst-address=202.142.207.140 protocol=tcp dst-port=1935 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="Other \
   games - Games Wep" disabled=no

add chain=prerouting dst-address=202.170.126.0/24 protocol=tcp \
   dst-port=30000-45000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Other games - RAN Thai" disabled=no

add chain=prerouting dst-address=202.142.207.0/24 protocol=tcp \
   dst-port=5100-5600 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Other games - RAN IN TH" disabled=no

add chain=prerouting dst-address=174.36.178.0/24 protocol=tcp \
   dst-port=11000-12000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="Other games - HON" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=11100-11900 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=210.1.31.43 protocol=tcp dst-port=8350-8365 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="NXZ \
   server - GunBound" disabled=no

add chain=prerouting dst-address=61.91.127.194 protocol=tcp \
   dst-port=5000-65000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="WarCraft - TCG Network" disabled=no

add chain=prerouting dst-address=61.19.241.41 protocol=tcp dst-port=5000-65000 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=210.86.182.0/24 protocol=tcp \
   dst-port=5000-65000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=124.120.119.0/24 protocol=tcp \
   dst-port=5000-65000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=122.155.12.24-122.155.12.30 protocol=tcp \
   dst-port=5000-65000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=203.144.224.107-203.144.224.120 protocol=tcp \
   dst-port=5000-65000 action=mark-routing new-routing-mark=games \
   passthrough=yes comment="" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=6014 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=6006 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=6100-6350 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=7000-7350 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=udp src-port=1510-1515 \
   action=mark-routing new-routing-mark=games passthrough=yes \
   comment="WarCraft - GGC" disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=1513 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=7456 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=8687 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting dst-address=0.0.0.0/0 protocol=tcp dst-port=8688 \
   action=mark-routing new-routing-mark=games passthrough=yes comment="" \
   disabled=no

add chain=prerouting protocol=tcp dst-port=25 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="net" disabled=no

add chain=prerouting protocol=tcp dst-port=143 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=110 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=5222 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=5223 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=5190 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=5050 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=6667 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

add chain=prerouting protocol=tcp dst-port=8074 action=mark-routing \
   new-routing-mark=net passthrough=yes comment="" disabled=no

ชื่อ: Re: แยกเส้น Net เส้น Game ด้วย Mikrotik RouterBoard
โดย: paolovelove เมื่อ วันที่ 30 มีนาคม 2011, 17:44:45
พี่ ครับ มีวิธี fix ip ป่าวครับ ให้ modem เป็นตัวต่อเน็ต

แบบให้ โมเด็ม เป็นตัวต่อ แล้ว ตัว rb เอาแต่เน็ต มาอะ
ชื่อ: Re: แยกเส้น Net เส้น Game ด้วย Mikrotik RouterBoard
โดย: yod เมื่อ วันที่ 31 มีนาคม 2011, 16:35:51


Link นี้เลยครับ จะเป็นแบบให้ DHCP Client ที่ Port Ether1

การ Setup Hotspot ด้วย RouterBoard แบบแยก Class IP (https://www.sysnetcenter.com/board/index.php/topic,473.0/)

ถ้าต้องการแบบ Fix IP เลย ให้ Add เพิ่มใน Menu --> IP --> Address ครับ

Users found this pages searching for: