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

    Squid question

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 989 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 Offline
      proxlab
      last edited by

      hello,

      Can anyone tell me how to configure my Squid to allow traffic only for one website xxx and the rest does not go thru the Squid proxy.
      so to resume, all webtraffic not going thru the proxy except for xxx website

      Thx

      1 Reply Last reply Reply Quote 0
      • M Offline
        muswellhillbilly
        last edited by

        https://forum.pfsense.org/index.php?topic=88412.msg488037#msg488037

        1 Reply Last reply Reply Quote 0
        • P Offline
          proxlab
          last edited by

          Thx for your PAC solution:
          so to resume (lemme know if it's fine for you)

          1-configure Squid on Pfsense with the networks and website goint thru Squid.
          2-create the PAC file and add it on all PCs' browser
          3-for smartphone how to do?

          Thanks

          1 Reply Last reply Reply Quote 0
          • KOMK Offline
            KOM
            last edited by

            Not quite.  You create your wpad.dat and proxy.pac files on a web server (you can use pfSense for this if it's running in HTTP mode, HTTPS doesn't work for this).  You then create an entry in your DNS for wpad that points to the webserver.  Then you set all clients to autodiscover the proxy.

            https://doc.pfsense.org/index.php/WPAD_Autoconfigure_for_Squid

            You can search online for example wpad.dat files so you can see how the javascript inside can redirect based on source or destination.

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