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
    stuckz's Avatar
    Newbie
    Join Date
    Jan 2008
    Posts
    43
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Setting Load Balancing Mikrotik dan webproxy mikrotik

    Dear Mikrotikers...

    All mohon bantuan donk..
    Gw punya masalah sama skema jaringan yg mau coba gw buat..
    berikut skemanya

    -----mdm1------------mdm2
    --------|---------------|
    --------|---------------|
    -------wan1--------wan2
    -----Mikrotik Load Balancing--------webproxy dgn mikrotik (192.168.100.50)
    ----------local
    -------------|
    -------------|
    ----------Client

    untuk loadbalancing tanpa web proxy nya sudah aman atau sudah bisa jalan Click here to enlarge, tetapi ketika ditambahkan 1 unit pc mikrotik untuk webproxy internetnya malah ga bisa jalan Click here to enlarge

    berikut config di mikrotik load balancingnya
    / ip route
    add dst-address=0.0.0.0/0 gateway=mdm1 distance=1 scope=255 \
    target-scope=10 routing-mark=odd comment="" disabled=no
    add dst-address=0.0.0.0/0 gateway=mdm2 distance=1 scope=255 \
    target-scope=10 routing-mark=even comment="" disabled=no

    / ip firewall nat
    add chain=srcnat action=src-nat to-addresses=wan1 to-ports=0-65535 \
    connection-mark=odd comment="" disabled=no
    add chain=srcnat action=src-nat to-addresses=wan2 to-ports=0-65535 \
    connection-mark=even comment="" disabled=no
    add chain=dstnat action=dst-nat to-addresses=192.168.100.50 to-ports=8080 \
    in-interface=Local dst-port=80 protocol=tcp comment="" disabled=no

    / ip firewall mangle
    add chain=prerouting action=mark-connection new-connection-mark=odd \
    passthrough=yes connection-state=new in-interface=to-proxy nth=1,2,0 \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no
    add chain=prerouting action=mark-routing new-routing-mark=odd passthrough=no \
    in-interface=to-proxy connection-mark=odd \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no
    add chain=prerouting action=mark-connection new-connection-mark=even \
    passthrough=yes connection-state=new in-interface=to-proxy nth=1,2,1 \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no
    add chain=prerouting action=mark-routing new-routing-mark=even passthrough=no \
    in-interface=to-proxy connection-mark=even \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no

    add chain=prerouting action=mark-connection new-connection-mark=from_local \
    passthrough=yes in-interface=Local comment="" disabled=no
    add chain=prerouting action=mark-routing new-routing-mark=from_local \
    passthrough=no in-interface=Local connection-mark=from_local comment="" \
    disabled=no

    / ip dns
    set primary-dns=dns1 secondary-dns=dns2 \
    allow-remote-requests=yes cache-size=2048KiB cache-max-ttl=1w

    GANGS_OF_NETWORK => isinya ip client & ip webproxy

    trus kalo di pc webproxynya

    / ip route
    add dst-address=0.0.0.0/0 gateway=192.168.100.1 distance=1 scope=255 \
    target-scope=10 disabled=no
    / ip firewall nat
    add chain=dstnat action=redirect to-ports=8080 dst-port=8080 protocol=tcp \
    comment="" disabled=no
    / ip address
    add address=192.168.100.50/24 network=192.168.100.0 broadcast=192.168.100.255 \
    interface=ether1 comment="" disabled=no
    / ip dns
    set primary-dns=dns1 secondary-dns=dns2 \
    allow-remote-requests=yes cache-size=2048KiB cache-max-ttl=1w

    fiuuhhh... puyeng euy...
    minta tolong donk kaka2 minta petunjuk, salahnya dimana yaa...

    Terimakasih..
    Last edited by stuckz; 04-11-2009 at 17:25.

  2. #2
    Status
    Offline
    adhielesmana's Avatar
    Administrator
    Join Date
    Jan 2009
    Location
    http://www.adhielesmana.com
    Posts
    3,054
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by stuckz Click here to enlarge
    Dear Mikrotikers...

    All mohon bantuan donk..
    Gw punya masalah sama skema jaringan yg mau coba gw buat..
    berikut skemanya

    -----mdm1------------mdm2
    --------|---------------|
    --------|---------------|
    -------wan1--------wan2
    -----Mikrotik Load Balancing--------webproxy dgn mikrotik (192.168.100.50)
    ----------local
    -------------|
    -------------|
    ----------Client

    untuk loadbalancing tanpa web proxy nya sudah aman atau sudah bisa jalan Click here to enlarge, tetapi ketika ditambahkan 1 unit pc mikrotik untuk webproxy internetnya malah ga bisa jalan Click here to enlarge

    berikut config di mikrotik load balancingnya
    / ip route
    add dst-address=0.0.0.0/0 gateway=mdm1 distance=1 scope=255 \
    target-scope=10 routing-mark=odd comment="" disabled=no
    add dst-address=0.0.0.0/0 gateway=mdm2 distance=1 scope=255 \
    target-scope=10 routing-mark=even comment="" disabled=no

    / ip firewall nat
    add chain=srcnat action=src-nat to-addresses=wan1 to-ports=0-65535 \
    connection-mark=odd comment="" disabled=no
    add chain=srcnat action=src-nat to-addresses=wan2 to-ports=0-65535 \
    connection-mark=even comment="" disabled=no
    add chain=dstnat action=dst-nat to-addresses=192.168.100.50 to-ports=8080 \
    in-interface=Local dst-port=80 protocol=tcp comment="" disabled=no

    / ip firewall mangle
    add chain=prerouting action=mark-connection new-connection-mark=odd \
    passthrough=yes connection-state=new in-interface=to-proxy nth=1,2,0 \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no
    add chain=prerouting action=mark-routing new-routing-mark=odd passthrough=no \
    in-interface=to-proxy connection-mark=odd \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no
    add chain=prerouting action=mark-connection new-connection-mark=even \
    passthrough=yes connection-state=new in-interface=to-proxy nth=1,2,1 \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no
    add chain=prerouting action=mark-routing new-routing-mark=even passthrough=no \
    in-interface=to-proxy connection-mark=even \
    src-address-list=GANGS_OF_NETWORK comment="" disabled=no

    add chain=prerouting action=mark-connection new-connection-mark=from_local \
    passthrough=yes in-interface=Local comment="" disabled=no
    add chain=prerouting action=mark-routing new-routing-mark=from_local \
    passthrough=no in-interface=Local connection-mark=from_local comment="" \
    disabled=no

    / ip dns
    set primary-dns=dns1 secondary-dns=dns2 \
    allow-remote-requests=yes cache-size=2048KiB cache-max-ttl=1w

    GANGS_OF_NETWORK => isinya ip client & ip webproxy

    trus kalo di pc webproxynya

    / ip route
    add dst-address=0.0.0.0/0 gateway=192.168.100.1 distance=1 scope=255 \
    target-scope=10 disabled=no
    / ip firewall nat
    add chain=dstnat action=redirect to-ports=8080 dst-port=8080 protocol=tcp \
    comment="" disabled=no
    / ip address
    add address=192.168.100.50/24 network=192.168.100.0 broadcast=192.168.100.255 \
    interface=ether1 comment="" disabled=no
    / ip dns
    set primary-dns=dns1 secondary-dns=dns2 \
    allow-remote-requests=yes cache-size=2048KiB cache-max-ttl=1w

    fiuuhhh... puyeng euy...
    minta tolong donk kaka2 minta petunjuk, salahnya dimana yaa...

    Terimakasih..
    pertanyaan anda menandakan anda malas...


    belajar di sono no..

 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Load-balancing & Fail-over di MikroTik
    By nux in forum Tutorial
    Replies: 8
    Last Post: 11-11-2011, 10:09
  2. Load Balancing nth buat Mikrotik Ver 3.xx dan 2.9xx
    By joysolutions in forum Tutorial
    Replies: 47
    Last Post: 13-05-2010, 17:28
  3. ask load balancing buat mikrotik v3
    By john_0ng80 in forum Beginner Basics
    Replies: 10
    Last Post: 13-09-2009, 12:47
  4. load balancing fail over mikrotik
    By parot in forum General Networking
    Replies: 7
    Last Post: 02-05-2009, 13:20
  5. [HELP]YM Putus-putus setelah Mikrotik di setting Load and Balancing
    By Ye_Nan_Thien in forum General Networking
    Replies: 19
    Last Post: 01-04-2009, 14:50

Posting Permissions

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