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

    CARP and Squid question

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    3 Posts 2 Posters 2.4k 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.
    • S
      SirDuduk
      last edited by

      Hello all,
      I've installed 2 pfsense boxes and set a hardware redundancy successfully. My WANs are like this:
      xxx.xxx.xxx.168 - public - Master
      xxx.xxx.xxx.169 - public - Backup
      xxx.xxx.xxx.170 - public - virtual
      outbound NAT through the .170 address
      when i make a SSH to an external server i am connecting with the .170 IP
      Then I've install Squid + Squid Guard and set it as a transparent proxy. Then when i open an html i am connecting with Master's IP .168 and not from the virtual one. How can i set the proxy server to use CARP's virtual address? Is there something that I've missed?

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        AFAIK all services running on pfSense itself (like squid or the DNS forwarder) can only make use of the primary WAN.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • S
          SirDuduk
          last edited by

          actually i did it :). It appears that all traffic from squid go out from the localhost, so i changed the NAT source to be not only LAN but any

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