Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 2 of 2
  1. #1
    Status
    Offline
    itik_kecil's Avatar
    Baru Gabung
    Join Date
    Oct 2009
    Posts
    12
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [ask] cara cache web proxy n winbox gk kena limit simple queue?

    suhu-suhu mikrotik ane numpang nanya dong.. cara cache web proxy n winbox gk kena limit simple queue?
    klo pake simple queue kok cache web proxy ama buka winbox jadi kena limit, pas simple queue disable cache web proxy ama winbox gk kena limit.

    simple queue enable:
    -buka winbox kena bandwidth limit
    -cache web proxy kena bandwidth limit
    -klo sambil download ping ke ip mikrotik jd berantakan

    simple queue disable:
    -buka winbox gk kena bandwidth limit
    -cache web proxy gk kena bandwidth limit
    --klo sambil download ping ke ip mikrotik gk berantakan

    ane pake mikrotik v3.10

    ini script yang ane pake om:

    [admin@routerku] > interface pr
    Flags: X - disabled, R - running, D - dynamic, S - slave
    # NAME TYPE MTU
    0 R local ether 1500
    1 R public ether 1500

    [admin@routerku] > ip address pr
    Flags: X - disabled, I - invalid, D - dynamic
    # ADDRESS NETWORK BROADCAST INTERFACE
    0 192.168.0.2/30 192.168.0.0 192.168.0.3 public
    1 192.168.1.1/24 192.168.1.0 192.168.1.255 local

    [admin@routerku] > ip route pr
    Flags: X - disabled, A - active, D - dynamic,
    C - connect, S - static, r - rip, b - bgp, o - ospf
    # DST-ADDRESS PREFSRC G GATEWAY DISTANCE INTERFACE
    0 S 0.0.0.0/0 r 192.168.0.1 1 public
    1 ADC 192.168.0.0/30 192.168.0.2 0 public
    2 ADC 192.168.1.0/24 192.168.1.1 0 local

    [admin@routerku] > ip fir nat pr
    Flags: X - disabled, I - invalid, D - dynamic
    0 chain=srcnat action=masquerade out-interface=public

    1 ;;; redirect to port 8080
    chain=dstnat action=redirect to-ports=8080 in-interface=local
    dst-port=80 protocol=tcp

    2 chain=dstnat action=redirect to-ports=8080 in-interface=local
    dst-port=3128 protocol=tcp

    3 chain=dstnat action=redirect to-ports=8080 in-interface=local
    dst-port=8000 protocol=tcp

    [admin@routerku] > ip dns pr
    primary-dns: 203.130.196.5
    secondary-dns: 202.134.0.61
    allow-remote-requests: yes
    max-udp-packet-size: 512
    cache-size: 2048KiB
    cache-max-ttl: 1w
    cache-used: 141KiB

    [admin@routerku] > ip proxy pr
    enabled: yes
    src-address: 0.0.0.0
    port: 8080
    parent-proxy: 0.0.0.0
    parent-proxy-port: 0
    cache-drive: system
    cache-administrator: "webmaster"
    max-cache-size: 17678000KiB
    cache-on-disk: yes
    max-client-connections: 600
    max-server-connections: 600
    max-fresh-time: 3d
    serialize-connections: no
    always-from-cache: no
    cache-hit-dscp: 4

    [admin@routerku] > ip firewall mangle> pr
    Flags: X - disabled, I - invalid, D - dynamic
    0 chain=prerouting action=mark-connection new-connection-mark=icmp-con
    passthrough=yes protocol=icmp

    1 chain=prerouting action=mark-packet new-packet-mark=icmp-pkt
    passthrough=no protocol=icmp connection-mark=icmp-con

    2 chain=prerouting action=mark-connection new-connection-mark=con-up
    passthrough=yes

    3 chain=prerouting action=mark-packet new-packet-mark=all-pkt passthrough=n>
    connection-mark=con-up

    4 chain=output action=mark-connection new-connection-mark=proxy-con
    passthrough=yes content=X-Cache: HIT

    5 chain=output action=mark-packet new-packet-mark=proxy-pkt passthrough=no
    connection-mark=proxy-con

    6 chain=forward action=mark-connection new-connection-mark=dirrect-con
    passthrough=yes

    7 chain=forward action=mark-packet new-packet-mark=all-pkt passthrough=no
    protocol=tcp connection-mark=dirrect-con

    [admin@routerku] > queue simple pr
    Flags: X - disabled, I - invalid, D - dynamic
    0 name="internet" target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0
    interface=local parent=none direction=both priority=1
    queue=default-small/default-small limit-at=0/0 max-limit=0/0
    total-queue=default-small

    1 name="client-1" target-addresses=192.168.1.2/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    2 name="client-2" target-addresses=192.168.1.3/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    3 name="client-3" target-addresses=192.168.1.4/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    4 name="client-4" target-addresses=192.168.1.5/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    5 name="client-5" target-addresses=192.168.1.2/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    6 name="client-6" target-addresses=192.168.1.3/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    7 name="client-6" target-addresses=192.168.1.4/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    8 name="client-7" target-addresses=192.168.1.5/32 dst-address=0.0.0.0/0
    interface=all parent=internet direction=both priority=8
    queue=default-small/default-small limit-at=30000/100000
    max-limit=30000/128000 total-queue=default-small

    mohon di koreksi om.. kira-kira ane salah dmn ya?
    mohon pencerahannya Click here to enlarge

  2. #2
    Status
    Offline
    linghochung's Avatar
    Baru Gabung
    Join Date
    Jul 2010
    Posts
    1
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Mesti bikin mangle mark connection dan mark packetnya, setelah itu di Queue - Simple Queue ato Queue Tree di centang Packet Mark. Baca cara lengkapnya di

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Video Tuts] Mensetting cache proxy MT biar tidak kena limit Queue
    By okto_2005 in forum QOS & Traffic Shaping
    Replies: 57
    Last Post: 03-03-2015, 15:58
  2. Replies: 39
    Last Post: 12-10-2010, 11:26
  3. Limit Bandwith Simple Queue
    By kifli.sul in forum Wireless Networking
    Replies: 3
    Last Post: 06-11-2008, 18:33
  4. setting limit simple queue speedy statis
    By ciupax in forum Beginner Basics
    Replies: 16
    Last Post: 31-01-2008, 21:23
  5. Replies: 4
    Last Post: 07-01-2008, 12:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •