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

    How to block only one url of a site?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 447 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
      Darien.Marquardt25
      last edited by

      I'm trying to block an url of a website using pfSense firewall.
      That means I can access to all website or url except an url like "domain.com/not-allow-url.php"
      Is there any ways to block and would you teach me how to do that?
      Many thanks.

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

        @Darien-Marquardt25
        This is a need for SSL MITM with Squid and squid guard .
        Lots of just administrative issues with this technique but if you are trying to be granular about access to a resource then there’s no other way on pfsense.

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

        D 1 Reply Last reply Reply Quote 0
        • D
          Darien.Marquardt25 @michmoor
          last edited by

          @michmoor
          Thanks for your respond!
          Based on your knowledge and in my case, which one should I use for blocking site url or by keyword?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You should block the specific url you are trying to deny access to in Squid.

            It's a lot of trouble to go to to just block one URL though.

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