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

    Troubleshooting sites that wont load using Squid bump

    Scheduled Pinned Locked Moved Cache/Proxy
    34 Posts 2 Posters 3.8k 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.
    • M
      michmoor LAYER 8 Rebel Alliance @JonathanLee
      last edited by

      @JonathanLee Ahhhh gotcha. So maybe a 500 but really its if your family says something doesnt work.
      Thanks Jonathan!!

      Firewall: NetGate,Palo Alto-VM,Juniper SRX
      Routing: Juniper, Arista, Cisco
      Switching: Juniper, Arista, Cisco
      Wireless: Unifi, Aruba IAP
      JNCIP,CCNP Enterprise

      M 1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee @michmoor
        last edited by

        @michmoor are you looking for a log of what sites are having issues? Check out the Squid proxy logs.

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • M
          michmoor LAYER 8 Rebel Alliance @michmoor
          last edited by

          @JonathanLee Are you utilizing LightSquid as well? Curious as to what made you deploy Squid.
          Im thinking about placing it on another VLAN at home, maybe my Wireless - But using Transparent Proxy.

          Firewall: NetGate,Palo Alto-VM,Juniper SRX
          Routing: Juniper, Arista, Cisco
          Switching: Juniper, Arista, Cisco
          Wireless: Unifi, Aruba IAP
          JNCIP,CCNP Enterprise

          JonathanLeeJ M 3 Replies Last reply Reply Quote 0
          • JonathanLeeJ
            JonathanLee @michmoor
            last edited by

            @michmoor yes I also use lightsquid I have children so I use it to block specific websites and use timers for access alongside use of a blacklist.

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • JonathanLeeJ
              JonathanLee @michmoor
              last edited by JonathanLee

              @michmoor transparent proxy is the quick way to go it works great, I wanted the https scan for clam AV to work.

              https://forum.it-monkey.net/index.php?topic=23.0

              This website is great for help setting up I am so thankful for who made this.

              1686121145228-screenshot-2023-06-06-at-11.58.44-pm.png
              Clam AV with https scans

              Make sure to upvote

              1 Reply Last reply Reply Quote 0
              • M
                michmoor LAYER 8 Rebel Alliance @michmoor
                last edited by

                So Transparent proxy works with LightSquid then?
                Right now i am only bumping one VLAN. I am planning on the kids vlan without bumping as i cant install a certificate on those devices.

                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                Routing: Juniper, Arista, Cisco
                Switching: Juniper, Arista, Cisco
                Wireless: Unifi, Aruba IAP
                JNCIP,CCNP Enterprise

                JonathanLeeJ 1 Reply Last reply Reply Quote 0
                • JonathanLeeJ
                  JonathanLee @michmoor
                  last edited by JonathanLee

                  @michmoor lightsquid does. Should be a great project/puzzle to work on. My issue was Xbox not having options for proxy use like all the other game systems. So I used DHCP option 252 to configure the proxy and set it for transparent use.

                  Make sure to upvote

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    michmoor LAYER 8 Rebel Alliance @JonathanLee
                    last edited by michmoor

                    @JonathanLee So ive set DHCP Option 252 but it doesnt seem to be working at all.

                    I have LAN1 - Thats set for SSL Intercept. I got certificates installed on all my client machines. Working
                    I have LAN2 - This is Wifi. I got transparent mode set up. Ive set DHCP Option 252. I still dont see SSL/TLS being intercepted and seeing the reports in LightSquid.

                    My iPhone is getting the option. Nothing in LightSquid on port 443

                    e38a8ec1-0d4f-4f3e-b214-9325b72b9902-image.png

                    Firewall: NetGate,Palo Alto-VM,Juniper SRX
                    Routing: Juniper, Arista, Cisco
                    Switching: Juniper, Arista, Cisco
                    Wireless: Unifi, Aruba IAP
                    JNCIP,CCNP Enterprise

                    JonathanLeeJ 1 Reply Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee @michmoor
                      last edited by JonathanLee

                      @michmoor you have wpad files set up also? Just to confirm,

                      The Squid proxy must have both options enabled and you will have to use advanced config to direct what vlan subnets need splice and what needs intercept. I have only done it with specific IP addresses, again you must add the subnets to Squid for use also.

                      Screenshot 2023-06-07 at 2.57.36 PM.png
                      (both options enabled)

                      Screenshot 2023-06-07 at 2.59.06 PM.png
                      (add in other vlan subnets)

                      Make sure to upvote

                      JonathanLeeJ 1 Reply Last reply Reply Quote 0
                      • JonathanLeeJ
                        JonathanLee @JonathanLee
                        last edited by JonathanLee

                        @JonathanLee

                        https://wiki.squid-cache.org/SquidFaq/SquidAcl

                        Use this webpage with advanced config and set up the subnets under Custom Options ssl/mitm area notice mine has spice only set for some and others are not they are mitm

                        Screenshot 2023-06-07 at 3.07.11 PM.png
                        (option 252 I set up in dhcp server for auto proxy config you must allow access to the firewalls port however with use of this)

                        https://192.168.1.1:8080/wpad.dat
                        I am using 8080 for firewall access so it must be set that way under the dhcp option 252 and access control lists

                        Make sure to upvote

                        JonathanLeeJ M 2 Replies Last reply Reply Quote 0
                        • JonathanLeeJ
                          JonathanLee @JonathanLee
                          last edited by

                          @JonathanLee

                          Make sure your ACLs are configured also to force proxy use

                          Screenshot 2023-06-07 at 3.09.21 PM.png

                          If you want to take it further block DoH requests also with Squidguard once you get it going

                          Make sure to upvote

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            michmoor LAYER 8 Rebel Alliance @JonathanLee
                            last edited by

                            @JonathanLee You are a true gent. Thanks so much. I’m not using a custom configs but that looks like the next step.

                            Firewall: NetGate,Palo Alto-VM,Juniper SRX
                            Routing: Juniper, Arista, Cisco
                            Switching: Juniper, Arista, Cisco
                            Wireless: Unifi, Aruba IAP
                            JNCIP,CCNP Enterprise

                            1 Reply Last reply Reply Quote 1
                            • M
                              michmoor LAYER 8 Rebel Alliance @JonathanLee
                              last edited by michmoor

                              @JonathanLee So what do you use WPAD for? My understanding is to inform clients that are set up to find a proxy server, where it is. These are not for your clients that are set up for bump, right?

                              edit. Came up with my custom config using you as a guide. I dont have SSL transparent on as im using proxy authentication on certain VLANs.
                              So for my iPads and XBOXs do i have to find proxy configuration in the software?

                              acl splice_only src 192.168.14.0/24
                              acl splice_only src 192.168.23.0/24
                              acl NoSSLCIntercept ssl::server_name_regex -i "/usr/local/pkg/url.nobump"
                              ssl_bump splice splice_only
                              ssl_bump splice NoSSLCIntercept
                              ssl_bump bump all

                              Firewall: NetGate,Palo Alto-VM,Juniper SRX
                              Routing: Juniper, Arista, Cisco
                              Switching: Juniper, Arista, Cisco
                              Wireless: Unifi, Aruba IAP
                              JNCIP,CCNP Enterprise

                              JonathanLeeJ 2 Replies Last reply Reply Quote 1
                              • JonathanLeeJ
                                JonathanLee @michmoor
                                last edited by JonathanLee

                                @michmoor great configuration. I use WPAD for automatic proxy configuration. Some laptops go back and forth from work or others to the university so I have WPAD set to auto configure when they get back on our home network. This way I do not have to manually set them to the proxy each and everytime they come home versus out in the world. To answer your question about the Xbox and iPad I splice them as you can not load a certificate into Xbox but you can on the iPad. The iPad I just have to set to splice so it runs and still does URL blocking, it's my wife's and it works better. The only ones I have set to intercept are ones I use for programing and cyber security researching. DHCP option all it does is serve the WPAD even when it's not asked this is for when the laptop is not set to auto for proxy, it will still configure to the proxy this way. It's like a double version. If the laptop is set to auto it configures and if not it auto configures the proxy too. Stuff has to work without my manually changing proxy settings.

                                Make sure to upvote

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  michmoor LAYER 8 Rebel Alliance @JonathanLee
                                  last edited by

                                  @JonathanLee That is the set up I have as well. I have at least 3x machines across two vlans that are set up for automatic proxy detection as they move in and out the network.
                                  The problem I have now is that I do not see my Wireless VLAN in the Proxy Reports. I should be seeing way more devices in the 192.168.14.0/24 network but i dont. Any suggestions?

                                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                  Routing: Juniper, Arista, Cisco
                                  Switching: Juniper, Arista, Cisco
                                  Wireless: Unifi, Aruba IAP
                                  JNCIP,CCNP Enterprise

                                  JonathanLeeJ 1 Reply Last reply Reply Quote 0
                                  • JonathanLeeJ
                                    JonathanLee @michmoor
                                    last edited by

                                    @michmoor so do you have another subnet your not splicing like a laptop you SSL intercept with certificates loaded? That would be what falls into bump.

                                    Make sure to upvote

                                    1 Reply Last reply Reply Quote 0
                                    • JonathanLeeJ
                                      JonathanLee @michmoor
                                      last edited by JonathanLee

                                      @michmoor try to name it splice_only_A and splice_only_B I have not done this with different subnets yet. I think I read something on Squids website about best practices with different networks. Have you tried peek step1? You have to peek at it before it knows to splice or bump right?

                                      ssl_bump peek step1 ---> it has to peek to make a bump decision for the urls it needs to inspect

                                      ssl_bump splice splice_only
                                      ssl_bump splice NoSSLCIntercept
                                      ssl_bump bump all

                                      It falls through this when it runs. First it splices the IPs it needs to next it has to peek to see the URLs to make a decision if it needs to splice that connection after if it matches it splices them. All others it bumps the bumps those machines must have certificates installed.

                                      https://wiki.squid-cache.org/Features/SslPeekAndSplice

                                      Make sure to upvote

                                      M 1 Reply Last reply Reply Quote 1
                                      • M
                                        michmoor LAYER 8 Rebel Alliance @JonathanLee
                                        last edited by

                                        @JonathanLee I figured it out. It was much more simple than that. I needed to select the other interfaces for SSL inspection. Only 2 out of the 4 were selected.

                                        So at this point the custom SSL configuration is the way to go. Im bumping some networks and splicing others. Maximum flexability here so thank you for pointing the way.

                                        Now i am getting a LightSquid report with all the IPs. I am not at the point that i want to use a blacklist as thats too much. I would prefer a paid URL block list if i could find one.
                                        I am using SquidGuard to customize a very specific domain i want to block for certain users/IPs so thats great. PFblocker cannot be customized in this way so this is really good.

                                        Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                        Routing: Juniper, Arista, Cisco
                                        Switching: Juniper, Arista, Cisco
                                        Wireless: Unifi, Aruba IAP
                                        JNCIP,CCNP Enterprise

                                        JonathanLeeJ 3 Replies Last reply Reply Quote 1
                                        • JonathanLeeJ
                                          JonathanLee @michmoor
                                          last edited by

                                          @michmoor what a cool puzzle right? Squid is amazing

                                          Make sure to upvote

                                          M 1 Reply Last reply Reply Quote 1
                                          • M
                                            michmoor LAYER 8 Rebel Alliance @JonathanLee
                                            last edited by

                                            @JonathanLee This was a great puzzle thanks to you. The downside is that I cannot use Authentication while transparent mode is enabled but thats Ok.

                                            You should teach a squid class at the university :)

                                            Final configuration is this.

                                            d07fe26f-6527-4cab-bf35-f1879e019619-image.png

                                            Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                            Routing: Juniper, Arista, Cisco
                                            Switching: Juniper, Arista, Cisco
                                            Wireless: Unifi, Aruba IAP
                                            JNCIP,CCNP Enterprise

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