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

    HA Proxy - Blocking path

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 1 Posters 426 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
      last edited by

      Hello,
      I have a domain www.example.com that is set up on HA proxy and all is well.
      www.example.com/path is a uri that i want to block anyone from accessing via proxy.

      I have the following condition
      be7a52d6-321c-49e3-8d6c-162e82ece030-image.png

      I have the following action
      36d60d0d-32bd-4fa1-8f47-a7fd881fd11a-image.png

      Everything works as expected BUT i do find that if i want to visit other sites with an /admin path those get blocked too.
      How do i craft rules to say IF domain is www.example.com AND path is /admin THEN block

      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
      • M
        michmoor LAYER 8 Rebel Alliance @michmoor
        last edited by

        @michmoor Figured it out, from Reddit of all places.
        You can define multiple ACLs within the action field. This isnt documented for the GUI sadly BUT this works as a AND function.

        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 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.