Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 1 of 3 123 LastLast
Results 1 to 15 of 37
  1. #1
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Question [ask] Bisa nggak Load balancing ditambah dengan squid external

    Help me... Click here to enlarge sebelum dan sesudahnya saya ucapkan banyak tengkyu...

  2. #2
    Status
    Offline
    m3tr0mini's Avatar
    Member Super Senior
    Join Date
    Sep 2007
    Posts
    660
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by kecoak Click here to enlarge
    Help me... Click here to enlarge sebelum dan sesudahnya saya ucapkan banyak tengkyu...
    bisa banget dan seharusnya kayak gitu biar beban mikrotik box-nya ringan
    untuk squid-boxnya dibuat bridge network.
    jadi seolah-olah dari titik client gatewaynya langsung mengarah ke mikrotik box.
    topologinya:
    WAN=>Mikrotik=>squidBOx=>switch=>LAN

  3. #3
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by m3tr0mini Click here to enlarge
    bisa banget dan seharusnya kayak gitu biar beban mikrotik box-nya ringan
    untuk squid-boxnya dibuat bridge network.
    jadi seolah-olah dari titik client gatewaynya langsung mengarah ke mikrotik box.
    topologinya:
    WAN=>Mikrotik=>squidBOx=>switch=>LAN




    Click here to enlarge terima kasih boss... berhubung saya masih nubie.. jadi yaaa binggung... bisa minta tolong dikasih pencerahan lebih detail seandainya squid menggunakan freebsd.. kalo dijadiin brigde musti dirubah dimananya.. squid.conf ato mananya... hehehe.. maklum masih nubie.. ato mungkin ada saran yang lebih bagus make apa...

  4. #4
    Status
    Offline
    rj-45's Avatar
    Moderator
    Join Date
    Jul 2007
    Posts
    885
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    pake ubuntu juga lumayan pak

  5. #5
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by rj-45 Click here to enlarge
    pake ubuntu juga lumayan pak
    kalo pake ubuntu berat gak boss?

    terus masalah bridge... di mikrotik sekarang ada 4 ethernet. 2 untuk pppoe 1 local dan 1 lagi rencana buat proxy. kalo di bridge interface mana aja boss ... terus ip nya satu subnet ato gimana.. itu squidboxnya pake 1 ethernet ato 2 ? mohon pencerahannya... tengkyu..

  6. #6
    Status
    Offline
    m3tr0mini's Avatar
    Member Super Senior
    Join Date
    Sep 2007
    Posts
    660
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    yang di bridge tuh lancard nya di squid box
    jadi ntar LANcardnya mode bridge dan dikenalin ama BSD jadi br0
    nda ada istilahnya eth0 dan eth1
    cuba dipelijari script ini
    thx to ImeR (CCPB#14)
    Code:
    file rc.local pada squid box
    #!/bin/sh
    # thx to ImeR (CCPB#14 master)
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.
    
    touch /var/lock/subsys/local
    
    ### CREATE NETWORK BRIDGE ###
    
    ifconfig eth0 0.0.0.0 promisc up
    ifconfig eth1 0.0.0.0 promisc up
    
    brctl addbr br0
    brctl addif br0 eth0
    brctl addif br0 eth1
    
    ifconfig br0 =Ganti dengan IP brdgemu= netmask 255.255.255.0 up
    route add default gw =ip gateway Mikotik= dev br0
    
    ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-target ACCEPT
    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 8080
    iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-ports 8080
    iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port 8080

  7. #7
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by m3tr0mini Click here to enlarge
    yang di bridge tuh lancard nya di squid box
    jadi ntar LANcardnya mode bridge dan dikenalin ama BSD jadi br0
    nda ada istilahnya eth0 dan eth1
    cuba dipelijari script ini
    thx to ImeR (CCPB#14)
    Code:
    file rc.local pada squid box
    #!/bin/sh
    # thx to ImeR (CCPB#14 master)
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.
    
    touch /var/lock/subsys/local
    
    ### CREATE NETWORK BRIDGE ###
    
    ifconfig eth0 0.0.0.0 promisc up
    ifconfig eth1 0.0.0.0 promisc up
    
    brctl addbr br0
    brctl addif br0 eth0
    brctl addif br0 eth1
    
    ifconfig br0 =Ganti dengan IP brdgemu= netmask 255.255.255.0 up
    route add default gw =ip gateway Mikotik= dev br0
    
    ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-target ACCEPT
    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 8080
    iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-ports 8080
    iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port 8080

    terus ethernet di squidbox 2 yaa.... kalo squid down/error bypass langsung manual yaaa.. ato gimana... dikasih ip satu class ama client yaa boss... maklum nubie.. di mikrotik jadi gak perlu dikasih nat untuk mebelokkan ke proxy yaaa.. topologinya gini :

    modem(brigde)=====(pppoe)mikrotik====squidbox(brig de)===switch===klien
    modem(brigde)=====

    bener gitu nggak bosss....?
    Last edited by kecoak; 02-02-2009 at 16:04.

  8. #8
    Status
    Offline
    m3tr0mini's Avatar
    Member Super Senior
    Join Date
    Sep 2007
    Posts
    660
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    iyak betul anda dapat 100 Click here to enlarge
    contoh konkrit:
    ip gateway mikrotik adalah 10.10.1.3 /24
    ip squid bridge adalah 10.10.1.4 /24
    maka,.....=================
    setting pada client
    ip client 10.10.1.10/24 misal;
    gateway na 10.10.1.3
    dns na 10.10.1.3
    udah gitu ajah

  9. The Following User Says Thank You to m3tr0mini For This Useful Post:


  10. #9
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by m3tr0mini Click here to enlarge
    iyak betul anda dapat 100 Click here to enlarge
    contoh konkrit:
    ip gateway mikrotik adalah 10.10.1.3 /24
    ip squid bridge adalah 10.10.1.4 /24
    maka,.....=================
    setting pada client
    ip client 10.10.1.10/24 misal;
    gateway na 10.10.1.3
    dns na 10.10.1.3
    udah gitu ajah
    Click here to enlarge dah bisa boss.... terima kasih yang sebesar2nya.... hehehe...sementara ini saya monitoring dulu... tengkyu... terima kasih buat om m3tr0mini dan om rj-45.... salut... Click here to enlarge

  11. #10
    Status
    Offline
    unique_leader's Avatar
    Member Super Senior
    Join Date
    Jul 2007
    Posts
    639
    Reviews
    Read 0 Reviews
    Downloads
    5
    Uploads
    0
    Feedback Score
    1 (100%)
    tapi kan IP yg di baca mikrotik untuk port 80 cuman satu IP. yaitu ip nya porxy server. kecuali kalo squid nya di patch cttproxy
    Last edited by unique_leader; 03-02-2009 at 11:14.

  12. #11
    Status
    Offline
    rhdyt's Avatar
    Newbie
    Join Date
    Dec 2008
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by kecoak Click here to enlarge
    Help me... Click here to enlarge sebelum dan sesudahnya saya ucapkan banyak tengkyu...
    maaf,,kalo boleh tahu siom dari pekanbaru ya...??
    mungkin kita bisa belajar bareng Click here to enlarge

  13. #12
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by unique_leader Click here to enlarge
    tapi kan IP yg di baca mikrotik untuk port 80 cuman satu IP. yaitu ip nya porxy server. kecuali kalo squid nya di patch cttproxy


    iya nih boss... ternyata yang kebaca cuman ip proxynya...ada solusi nggak yaa..Click here to enlarge kecuali kalo squid nya di patch cttproxy... hmm.. itu yang gimana yaa.. kasih pencerahan donk bosss... tengkyu
    Last edited by kecoak; 03-02-2009 at 12:42.

  14. #13
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by rhdyt Click here to enlarge
    maaf,,kalo boleh tahu siom dari pekanbaru ya...??
    mungkin kita bisa belajar bareng Click here to enlarge
    kebetulan nggak mas... kulo wonten jowo kemawon... kalo belajar bareng ayo ajah...Click here to enlarge

  15. #14
    Status
    Offline
    kecoak's Avatar
    Baru Gabung
    Join Date
    Jul 2007
    Posts
    19
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    aloww... ada yang bisa bantu gak bosss... kok sepii.... nge patch nya gimana? nubie nih bosss

  16. #15
    Status
    Offline
    unique_leader's Avatar
    Member Super Senior
    Join Date
    Jul 2007
    Posts
    639
    Reviews
    Read 0 Reviews
    Downloads
    5
    Uploads
    0
    Feedback Score
    1 (100%)
    ngepatch nya harus bareng compile kernel linux nya

 

 
Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. load-balancing squid
    By felix_sg in forum General Networking
    Replies: 5
    Last Post: 25-04-2010, 20:30
  2. Load Balancing dengan 2 jalur LAN
    By inoktav in forum General Networking
    Replies: 6
    Last Post: 11-01-2010, 02:31
  3. (ask) Load Balancing + Squid
    By cyberolog in forum General Networking
    Replies: 3
    Last Post: 20-10-2009, 21:54
  4. [ASK] Load balancing dengan RB450 + squid box
    By ariwea in forum General Networking
    Replies: 47
    Last Post: 11-02-2009, 02:08

Posting Permissions

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