• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Mohon Bantuan Multiwan loadbalance + failover

Indonesian
8
17
14.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    grage95
    last edited by Nov 12, 2009, 8:18 PM Nov 12, 2009, 8:10 PM

    Jika ada squid, load balancing berlaku untuk trafik non www/port 80,
    sedangkan jika client request www/port 80 dan jika ip-nya terlist di squid.conf maka
    akan diatur tcp outgoingnya oleh squid, pengaturan ini melalui option tcp_outgoing_addres, jadi squid bisa di gunakan utk multiwan

    silahkan cari referensi tcp_outgoing_addres, tempatkan di squid.inc

    1 Reply Last reply Reply Quote 0
    • Y
      yantisna
      last edited by Nov 13, 2009, 11:21 AM

      om mohon pecerahan ini…
      terus terang saya binggung karena saya juga masih blajar squid pfsense, dan tutorial yang ada kalo ngga linux ya bsd walaupun pf ini turunan dari BSD saya lumayan binggung juga... terutama ketika saya setting tcp_outgoing nya...

      Bisakah saya di berikan pencerahan untuk letak dan urutan tcp_outgoing_address di squid.inc jika LAN 10.10.0.0/24 gw di 10.10.0.252 dan WAN = PPOE ip 125.167.56.199/255.255.255.255 dengan GW di 125.167.56.1 dan OPT1 = 192.168.1.2/255.255.255.0 Gw 192.168.1.1 mohon pencerahaan nya om... *ngga kuat beli LB hardware neh *
      thanks om.. matur nuwun

      1 Reply Last reply Reply Quote 0
      • G
        grage95
        last edited by Nov 13, 2009, 4:25 PM Nov 13, 2009, 4:17 PM

        IP LAN dibagi 2 group

        IP 10.10.0.1-10.10.0.100      di forward ke wan (125.167.56.199)
        IP 10.10.0.101-10.10.0.200  di forward ke opt (192.168.1.2)

        syntaxnya :

        acl wan src 10.10.0.1-10.10.0.100/32
        acl opt  src 10.10.0.101-10.10.0.200/32
        
        tcp_outgoing_address  125.167.56.199 wan
        tcp_outgoing_address 192.168.1.2 opt
        

        truh di bawahnya

        acl dynamic urlpath_regex cgi-bin ?

        http://www.squid-cache.org/Doc/config/tcp_outgoing_address/

        1 Reply Last reply Reply Quote 0
        • Y
          yellowhat89
          last edited by Nov 17, 2009, 7:57 PM

          memangnya squid sudah support dual WAN ya? atau sudah ada patch yang support dual WAN?

          Stay hungry, Stay Foolish

          1 Reply Last reply Reply Quote 0
          • G
            grage95
            last edited by Nov 17, 2009, 8:20 PM Nov 17, 2009, 8:13 PM

            @yellowhat89:

            memangnya squid sudah support dual WAN ya? atau sudah ada patch yang support dual WAN?

            Squid configuration directive tcp_outgoing_address available in: 3.1   3.0   2.7   3.HEAD   2.HEAD   2.6

            http://www.squid-cache.org/Doc/config/tcp_outgoing_address/

            jangan lupa dokumentasi itu ada yang kurang, tambahkan server_persistent_connections off
            gak ada patch, langsung pake

            silahkan di coba, walopun kata si sulrich Squid is not compatible with multi-wan, tapi di coba jalan kok, dengan lebih dari 2 wan pun tetep jalan juga  :)

            http://www.indofreebsd.or.id/proxy-server/squid-pada-outgoing-load-balancing-connection.html

            1 Reply Last reply Reply Quote 0
            • D
              dedieko
              last edited by Nov 30, 2009, 3:18 AM

              @grage95:

              @yellowhat89:

              memangnya squid sudah support dual WAN ya? atau sudah ada patch yang support dual WAN?

              Squid configuration directive tcp_outgoing_address available in: 3.1   3.0   2.7   3.HEAD   2.HEAD   2.6

              http://www.squid-cache.org/Doc/config/tcp_outgoing_address/

              jangan lupa dokumentasi itu ada yang kurang, tambahkan server_persistent_connections off
              gak ada patch, langsung pake

              silahkan di coba, walopun kata si sulrich Squid is not compatible with multi-wan, tapi di coba jalan kok, dengan lebih dari 2 wan pun tetep jalan juga  :)

              http://www.indofreebsd.or.id/proxy-server/squid-pada-outgoing-load-balancing-connection.html

              Wow, beneran nich bos?
              Selama ini mesin multiwan/loadbalance saya pisah dengan mesin gateway/proxynya.
              Btw tcp_outgoing_adresss bisa menghandle ACL jenis dst/dstdomain gak ya?

              1 Reply Last reply Reply Quote 0
              • G
                grage95
                last edited by Nov 30, 2009, 3:55 AM

                bisa bro,

                malah di manual contohnya sudah support utk ipv6 :)
                        acl to_ipv6 dst ipv6
                        tcp_outgoing_address 2002::c001 good_service_net to_ipv6
                        tcp_outgoing_address 10.0.0.2 good_service_net !to_ipv6

                1 Reply Last reply Reply Quote 0
                • X
                  xaviero
                  last edited by Dec 18, 2009, 12:43 PM

                  selama ane ngetes, multiwan + squid, jalan lancar, failover squid jg lancar.
                  yang suka jadi kendala tuh pas traffic shapernya, suka ng-blank… ato nungguin respond server lama...

                  1 Reply Last reply Reply Quote 0
                  • K
                    kavari
                    last edited by Dec 24, 2009, 1:36 AM

                    terimakasih nih om2 skalian, forum ini luar biasa responsif…..
                    konfig load balancingnya sdh berhasil dan top...top deh, cuma saya masih bingung dengan configurasi squid + load balancing, om grage ato om2 yg lain mungkin bisa jelasin lebih detail (step by step), ato klo memungkinkan konfignya web base, maklum newbi abis om :-)
                    terimakasih boaaanyak

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zchellpy
                      last edited by Feb 8, 2010, 10:46 AM

                      @grage95:

                      @yellowhat89:

                      memangnya squid sudah support dual WAN ya? atau sudah ada patch yang support dual WAN?

                      Squid configuration directive tcp_outgoing_address available in: 3.1   3.0   2.7   3.HEAD   2.HEAD   2.6

                      http://www.squid-cache.org/Doc/config/tcp_outgoing_address/

                      jangan lupa dokumentasi itu ada yang kurang, tambahkan server_persistent_connections off
                      gak ada patch, langsung pake

                      silahkan di coba, walopun kata si sulrich Squid is not compatible with multi-wan, tapi di coba jalan kok, dengan lebih dari 2 wan pun tetep jalan juga  :)

                      http://www.indofreebsd.or.id/proxy-server/squid-pada-outgoing-load-balancing-connection.html

                      Script ini disimpan dimana ya mas klo boleh saya tau server_persistent_connections off dan saya simpan di baris mana…

                      Thanks,

                      Zcheelpy

                      1 Reply Last reply Reply Quote 0
                      • Z
                        zchellpy
                        last edited by Mar 8, 2010, 3:54 PM

                        Disini ada cara Squid go to multi WAN hanya aku dah coba tapi masih aja nga jalan, tolong klo bisa om2 yang dah jago2 tuk diselidiki….
                        heheheh....
                        http://forum.pfsense.org/index.php?topic=7591.msg42943

                        Thanks,

                        Zchellpy

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.