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

    Crazy to setup pfsense 2.3.3+squid+squidguard+wpad

    Scheduled Pinned Locked Moved Cache/Proxy
    27 Posts 5 Posters 12.7k 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.
    • J
      jopeme
      last edited by

      What is your DNS host overrides settings. I have rules to force DNS server is pfsense for each interfaces. And what is this configuration un www server?

      bind to proxy address and port

      server.bind  = "0.0.0.0"
      server.port  = 80

      Thanks a lot for your help.

      1 Reply Last reply Reply Quote 0
      • M
        maverik1
        last edited by

        I've attached a screenshot of the host override for wapd. It is fairly straightforward.

        This is what I have in my conf file. My web server is on 192.168.50.1. So you will need to change this for your settings.

        bind to port (default: 80)

        server.bind  = "192.168.50.1"
        server.port  = 80

        host_override.PNG
        host_override.PNG_thumb

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          Did you tried wpad Unofficial package? I guess it's much easier to setup then manual file changes.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • J
            jopeme
            last edited by

            I tried several weeks ago. But i don't know what step is wrong or missing for me if you have in mind that i use vlans and i forcé pfsense is DNS  server and proxy.

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              @jopeme:

              I tried several weeks ago. But i don't know what step is wrong or missing for me if you have in mind that i use vlans and i forcé pfsense is DNS  server and proxy.

              The package will work fine for this setup. You can create different wpad script for each interface.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • J
                jopeme
                last edited by

                So I guess I'll have to change my settings right now as follows:
                Customer 1 on vlan102
                Ip 10.0.102.2/24
                Gateway: 10.0.102.1
                DNS: 10.0.102.1

                Customer 2 in vlan103
                Ip 10.0.103.2/24
                Gateway: 10.0.103.1
                DNS: 10.0.103.1

                The DNS should be for example the ip of the LAN 10.0.0.1 if I am not mistaken.
                And I set up in PFSENSE the rules for DNS requests to redirect them to the LAN and allow HTTP traffic to the LAN that is going to serve the WPAD.
                I'm right?

                Thanks.

                1 Reply Last reply Reply Quote 0
                • J
                  jopeme
                  last edited by

                  Hello again.

                  Finally I installed the Unofficial wpad and I configured the dns resolver, but I can not get the wpad file. Probably because of my rules. If I write the url in a client http: //wpad.mydomain.local/proxy.pac
                  Is not able to download it. nslookup command Works fine and i get ip address of the lan.
                  From a vlan these are my rules.What is wrong with them?

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