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

    HAProxy Map Files

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 875 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.
    • bfuB
      bfu
      last edited by

      On the Files tab in HAProxy settings there’s an option for “write to disk”. I tried using this (like I do with lua scripts) to put a file locally on pfS’s disk to use as a map. But after creating the file in the webgui, it’s not on disk like my lua and custom error files. I searched the full filesystem for the name.

      Where does the file get written and how do I reference it / what path to use inside my ACLs?

      Looking to use something like this, which does work if I manually upload my map file to an arbitrary directory. The file gets removed on reboot, though, as expected for manual uploads.

      %[txn(host), lower, map(/var/etc/myMap.map)]
      
      D 1 Reply Last reply Reply Quote 1
      • D
        divemaster90 @bfu
        last edited by

        @bfu Hello, I am having the same issue. Were you ever able to find a solution?

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