Diposting oleh

Jasa Setting Mikrotik Di FlowersNet Binjai

Diposting oleh
Jasa Setting Mikrotik Di FlowersNet Binjai - Jasa Setting Mikrotik Di FlowersNet Binjai untuk memisahkan bandwidth game dan browsing serta game facebook. Pada pembagian bandwidth flowersnet yang 1mbps, saya buat browsing untuk luar negeri di limit termasuk ke ip iix yang selain ip game di sebut sebagai ip internasional.


Yang di prioritaskan disini hanya ip game, yang di tangkap lewat ip firewall filter, untuk ip game saja.

/ip firewall filter
add action=drop chain=forward disabled=no in-interface=ether3 src-address-list=!IP
add action=add-dst-to-address-list address-list=FB-Game address-list-timeout=0s chain=forward disabled=no dst-port=843 protocol=tcp
add action=add-dst-to-address-list address-list=FB-Game address-list-timeout=0s chain=forward disabled=no dst-port=9339 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=\
    1818,2001,3010,4300,5105,5121,5126,5171,5340-5352,6000-6152,7777 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=\
    7341-7350,7451,8085,9600,9601-9602,9300,9376-9377,9400,9700,10001-10011 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=\
    10402,11011-11041,12011,12110,13008,13413,15000-15002,16402-16502,16666,18901-18909,19000 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=\
    19101,22100,27780,28012,29000,29200,39100,39110,39220,39190,40000,49100,4300 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=14009-14010,4300 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=14009-14010 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=\
    1293,1479,6100-6152,7777-7977,8001,9401,9600-9602,12020-12080,30000,40000-40010 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1d chain=forward disabled=no dst-port=42051-42052,11100-11125,11440-11460 \
    protocol=tcp
Queue Type
/queue type
set 0 kind=pfifo name=default pfifo-limit=50
set 1 kind=pfifo name=ethernet-default pfifo-limit=50
set 2 kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
set 3 kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 red-limit=60 red-max-threshold=50 red-min-threshold=10
set 4 kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
add kind=pfifo name=ping pfifo-limit=64
add kind=pcq name=GAME pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-classifier=src-address,dst-address,src-port,dst-port pcq-dst-address-mask=\
    32 pcq-dst-address6-mask=64 pcq-limit=50 pcq-rate=0 pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=2000
add kind=pcq name=Browsing pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-classifier=dst-address pcq-dst-address-mask=32 pcq-dst-address6-mask=\
    64 pcq-limit=50 pcq-rate=784k pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=2000
add kind=pcq name=Download pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-classifier=dst-address pcq-dst-address-mask=32 pcq-dst-address6-mask=\
    64 pcq-limit=50 pcq-rate=128k pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=2000
add kind=pcq name=FB pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-classifier=dst-address pcq-dst-address-mask=32 pcq-dst-address6-mask=64 \
    pcq-limit=50 pcq-rate=500k pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=2000
set 10 kind=none name=only-hardware-queue
set 11 kind=mq-pfifo mq-pfifo-limit=50 name=multi-queue-ethernet-default
set 12 kind=pfifo name=default-small pfifo-limit=10

Mangle

/ip firewall mangle
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=\
    1818,2001,3010,4300,5105,5121,5126,5171,5340-5352,6000-6152,7777 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=\
    7341-7350,7451,8085,9600,9601-9602,9300,9376-9377,9400,9700,10001-10011 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=\
    10402,11011-11041,12011,12110,13008,13413,15000-15002,16402-16502,16666,18901-18909,19000 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=\
    19101,22100,27780,28012,29000,29200,39100,39110,39220,39190,40000,49100,4300 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=14009-14010,4300 protocol=tcp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=14009-14010 protocol=udp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=\
    1293,1479,6100-6152,7777-7977,8001,9401,9600-9602,12020-12080,30000,40000-40010 protocol=udp
add action=add-dst-to-address-list address-list=game_online address-list-timeout=1h chain=prerouting disabled=yes dst-port=42051-42052,11100-11125,11440-11460 \
    protocol=udp
add action=mark-connection chain=prerouting comment=ICMP disabled=no new-connection-mark=icmp-conn passthrough=yes protocol=icmp
add action=change-dscp chain=prerouting disabled=no in-interface=ether3 new-dscp=1 passthrough=yes protocol=icmp
add action=mark-packet chain=prerouting connection-mark=icmp-conn disabled=no new-packet-mark=icmp-pkt passthrough=no
add action=mark-connection chain=prerouting comment=IIX disabled=no dst-address-list=game_online dst-port=!80,21 in-interface=ether3 new-connection-mark=\
    iix-conn passthrough=yes protocol=tcp src-address-list=IP
add action=mark-connection chain=prerouting disabled=no dst-address-list=game_online in-interface=ether3 new-connection-mark=iix-conn passthrough=yes protocol=\
    udp src-address-list=IP
add action=mark-connection chain=prerouting comment=PB disabled=no dst-address-list=game_online dst-port=40000-40010 in-interface=ether3 new-connection-mark=\
    iix-conn passthrough=yes protocol=udp src-address-list=IP
add action=mark-connection chain=prerouting disabled=no dst-address-list=game_online dst-port=39190,40000-40010 in-interface=ether3 new-connection-mark=\
    iix-conn passthrough=yes protocol=tcp src-address-list=IP
add action=mark-packet chain=prerouting connection-mark=iix-conn disabled=no new-packet-mark=iix-pkt passthrough=no
add action=mark-connection chain=prerouting comment="IIX DOWN" disabled=no dst-address-list=game_online dst-port=80 in-interface=ether3 new-connection-mark=\
    down-iix-conn passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting connection-mark=down-iix-conn disabled=no new-packet-mark=down-iix-pkt passthrough=no
add action=mark-connection chain=prerouting comment="GAME FB" disabled=no dst-address-list=FB-Game in-interface=ether3 new-connection-mark=game_fb_conn \
    passthrough=yes
add action=mark-connection chain=prerouting content=.facebook.com disabled=no in-interface=ether3 new-connection-mark=game_fb_conn passthrough=yes
add action=mark-packet chain=prerouting connection-mark=game_fb_conn disabled=no new-packet-mark=game_fb_pkt passthrough=no
add action=mark-packet chain=prerouting comment=IX disabled=no new-packet-mark=int-pkt passthrough=no

Queue Simple router mikrotik warnet

/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=0/0 name="A. GAME" packet-marks=\
    iix-pkt parent=none priority=1 queue=GAME/GAME target-addresses=0.0.0.0/0 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=0/0 name="B. PING" packet-marks=\
    icmp-pkt parent=none priority=2 queue=ping/ping target-addresses=0.0.0.0/0 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=0/700k name="C. IIX-DOWN" \
    packet-marks=down-iix-pkt parent=none priority=8 queue=default-small/Browsing target-addresses=0.0.0.0/0 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=0/0 name="D. GAME-FB" packet-marks=\
    game_fb_pkt parent=none priority=3 queue=FB/FB target-addresses=0.0.0.0/0 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=IIX direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC01 \
    packet-marks=int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.2/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/256k name=PC02 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.3/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/256k name=PC03 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.4/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/256k name=PC04 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.5/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/256k name=PC05 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.6/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/256k name=PC06 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.7/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/256k name=PC07 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.8/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC08 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.9/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC09 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.10/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC10 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.11/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC11 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.12/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC12 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.13/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC13 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.14/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC14 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.15/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC15 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.16/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC16 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.17/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC17 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.18/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC18 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.19/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC19 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.20/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PC20 packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.21/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both disabled=no interface=all limit-at=0/0 max-limit=64k/384k name=PCOP packet-marks=\
    int-pkt parent=none priority=8 queue=default-small/default-small target-addresses=192.168.1.100/32 total-queue=default-small

Tidak ada komentar:

Posting Komentar