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

Users bypass squid

Scheduled Pinned Locked Moved Cache/Proxy
31 Posts 5 Posters 5.0k 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.
  • D
    doktornotor Banned
    last edited by Jan 19, 2017, 3:47 PM Jan 19, 2017, 3:42 PM

    And what the heck is 192.168.0.119? I already explicitly stated, multiple times, that you CANNOT have the ISP router and pfSense LAN on the same subnet. Would have hoped that requesting a network diagram might make you realize that your design is broken, but apparently not.

    1 Reply Last reply Reply Quote 0
    • A
      atn78
      last edited by Jan 20, 2017, 7:57 AM

      As I said, the pfSense is "between" the LAN and the ISP router. The pfSense server has two network cards : one that has the ip address 192.168.0.x (LAN) and one that has the ip address 10.100.10.y (WAN address and connected to the ISP router).

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by Jan 20, 2017, 8:27 AM

        Does not go anywhere, I give up. Still no network diagram.

        Having a default gateway configured to the IP of your router is absolutely expected and normally required. It does not result in any bypass of anything expect for utterly broken network designs.

        1 Reply Last reply Reply Quote 0
        • A
          atn78
          last edited by Jan 20, 2017, 9:25 AM

          This is the network diagram. I thinked I explained it by writing it.

          ![LAN internet.png](/public/imported_attachments/1/LAN internet.png)
          ![LAN internet.png_thumb](/public/imported_attachments/1/LAN internet.png_thumb)

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by Jan 20, 2017, 11:14 AM

            Great. Now, did you configure anything on the clients? Because, with the proxy NOT being transparent, I cannot figure out how on earth you imagine the clients to be forced to use it?!?!  (And, BTW, if going through Squid is required, you'll need to block all IPv6.)

            1 Reply Last reply Reply Quote 0
            • A
              atn78
              last edited by Jan 20, 2017, 11:33 AM

              I attached two screenshots showing interrnet configuration in browsers and the coniguration of network cards.

              ![options internet.png](/public/imported_attachments/1/options internet.png)
              ![options internet.png_thumb](/public/imported_attachments/1/options internet.png_thumb)
              ![carte réseau.png](/public/imported_attachments/1/carte réseau.png)
              ![carte réseau.png_thumb](/public/imported_attachments/1/carte réseau.png_thumb)

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by Jan 20, 2017, 11:35 AM

                Yeah. So, unless you configure the clients manually, they won't use the proxy. Cannot see the "bypass" here. And still do not see the problem and the relation with the gateway.

                1 Reply Last reply Reply Quote 0
                • A
                  atn78
                  last edited by Jan 20, 2017, 11:38 AM

                  DHCP is not activated so clients are manually configurated.

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by Jan 20, 2017, 11:40 AM

                    Yes. If you have DHCP activated, you'd have noticed that it is absolutely standard to have a default gateway configured on clients. I mean, you break the network connectivity if you don't have it configured. And no, it does not have anything in common with Squid "bypass". Not in any normal network. Yours apparently is abnormal.

                    1 Reply Last reply Reply Quote 0
                    • A
                      atn78
                      last edited by Jan 20, 2017, 11:48 AM

                      When I desactivated the proxy in Internet Options the squid authentification is not prompted and I have access to Internet.

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned
                        last edited by Jan 20, 2017, 11:53 AM

                        Yes of course they are NOT!!! Because if you want to force people to use a proxy, you need to either make it transparent, or force it on clients via DHCP/DNS/WPAD/Group Policy and block the direct traffic. You do not force people to use a proxy by inventing broken network configuration on clients that's missing a default gateway.

                        :o ::)

                        1 Reply Last reply Reply Quote 0
                        • A
                          atn78
                          last edited by Jan 20, 2017, 11:58 AM

                          I have activated the transparent proxy option and I still have the same problem.

                          1 Reply Last reply Reply Quote 0
                          • D
                            doktornotor Banned
                            last edited by Jan 20, 2017, 12:03 PM

                            As noted, you need to block IPv6 if going through Squid is a requirement. Other than that, I'd wipe everything and start from scratch, and start with fixing your completely whacky workflows. Using DHCP  and configuring clients in a way that's used by the rest of the world (which includes having a default gateway set) would be a nice start here.

                            Bye.

                            1 Reply Last reply Reply Quote 0
                            • A
                              atn78
                              last edited by Jan 20, 2017, 12:39 PM

                              Can you tell me how to do it?

                              1 Reply Last reply Reply Quote 0
                              • D
                                doktornotor Banned
                                last edited by Jan 20, 2017, 4:43 PM

                                There really is nothing special to do, it just works for everyone with DHCP server enabled on pfSense.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  atn78
                                  last edited by Jun 20, 2017, 10:04 AM

                                  I noticed that users can bypass squid by configuring the DNS in their network interfaces.

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    C0RR0SIVE
                                    last edited by Jun 21, 2017, 6:57 AM

                                    Then block their ability to do so, either via a GPO, or at the firewall.  If they are actually using the proxy (either transparently, or via wpad) then regardless of their DNS settings, the proxy will serve what the PFSense DNS looks up.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      ast
                                      last edited by Jun 28, 2017, 12:57 PM

                                      @doktornotor:

                                      Great. Now, did you configure anything on the clients? Because, with the proxy NOT being transparent, I cannot figure out how on earth you imagine the clients to be forced to use it?!?!  (And, BTW, if going through Squid is required, you'll need to block all IPv6.)

                                      I know this is already an old post, but can I ask for your assistance, how do we block all IPv6?

                                      TIA!

                                      ast

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        [[user:consent.lead]]
                                        [[user:consent.not_received]]