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

    HAProxy and acl files

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

      Hi all

      pfSense v 2.3.4 with HAProxy version 0.54

      I want to use an acl but load the entries from a file rather than type them into the GUI and looking at the docs for HAProxy-1.7.9 the syntax of the acl command is -

      "acl <aclname><criterion>[flags] [operator] [<value>"

      where to specify a file you would use a flag of -f.

      In the GUI interface for HAProxy there is no field where you can specify a flag that I can find so does that mean -

      1. it is just not supported with the package on pfSense

      or

      1. it is supported but not through the GUI

      Any help much appreciated</value></criterion></aclname>

      1 Reply Last reply Reply Quote 0
      • P
        PiBa
        last edited by

        Depends a little bit what kind of file you would like to use.. It is possible to use "Source IP matches IP or Alias" as a acl.. for which you then can create a alias in pfSense with IP's and subnets to match against.. But if you want to specify a domain>certificate or domain>backend 'list' or some other option that needs loading from file (besides a few things like lua and errorfiles..). Then the webgui is the thing that doesn't really 'support' it..

        Haproxy binary itself is should have most if no all features described in the manual..

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