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

    Multi wan loadbalancing with squid proxy on pfsense 2.2.2

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 1 Posters 1.5k Views
    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.
    • P
      pfsense man
      last edited by

      hello all
      i configure two pfsense device with below config and load balancing  with squid works well!!!!

      em0–----------> em2          em0 ppoe ---------------->(wan1)
      pfsense@                          pfsense#
              em1------------> em3          em1 ppoe ---------------> (wan2)

      Device settings

      pfsense@:
                                                8.8.8.8 ----> gw (em0)
      General Setup ---> dns server
                                                8.8.8.8 ----> gw (em1)

      advance ---->Miscellaneous ---> Allow default gateway switching enabled

      routing: em0 and em1  ---> multi wan groups  with tier 1

      floating rul:
      action---> pass  , interface --> em0 , em1  Direction---> out  protocol--->any    source and destination ---->any  Gateway ---> multi wan groups

      squid:
      Squid General Settings---> Transparent HTTP proxy on LAN enabled
      Custom Settings --> Integrations ---> tcp_outgoing_address 127.0.0.1

      pfsense#:
      firewall rules
      em2: any to any allowed with gateway wan1  and em3: any to any allowed with gateway wan2


      but by using two modem for connection ppoe instead pfsense# the load balancing not works !!!!!!
      so that http pages are randomly opens with ip defualt gateway

      em0------------> modem1 ppoe (wan1)
      pfsense@                   
              em1------------> modem2 ppoe (wan2)

      If someone can help me!!! thanks

      1 Reply Last reply Reply Quote 0
      • P
        pfsense man
        last edited by

        Dear all;

        can any one help me how to config and used transparent proxy with load balancing 2 wan :-[

        thanks

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