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

    How to block domain but open same domain's URL?

    Cache/Proxy
    2
    3
    634
    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
      jason04131015
      last edited by

      For example,
      how to block www.google.com but let www.google.com/mail can pass?
      thanks.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Provided you're using a method that can see the full URL (HTTP, or HTTPS+bump/MITM – not splice) then you could setup a target category to match the URL above the one that matches the domain. Whitelist the URL, and then if it matches it shouldn't hit the block category.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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

          Hi!
          Thanks for your help.

          I think my settings can't see the full URL.
          because squidguard blacklist log just like this.

          "play.google.com:443 Request(PROXY_BASIC/none/-) - CONNECT REDIRECT"

          so how to set a method that can see the full URL?

          Thank you.

          Installed Version:pfSense(2.3.3-RELEASE-p1 (amd64) ) with Squid(0.4.36_2) and SquidGuard(1.16.1)

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