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

    Haproxy API automation ?

    Cache/Proxy
    1
    1
    646
    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.
    • L
      lex.under.3182
      last edited by lex.under.3182

      Hello guys,

      I am trying to find a way to adjust frontend and add backend automatically in Pfsense->Haproxy

      1. Found a tools for WebUI automation that probably can be used - e.g. https://pptr.dev/ . By the way appears to be I cannot create a GUI user to manage HAproxy only? it should be admin user? looks not secure.

      2. Found that HAproxy itself have some kind of API but looks like pfsense package does not support it. https://www.haproxy.com/blog/haproxy-apis/
        http://www.arpalert.org/haproxy-api.html
        Probably it is possible to integrate it somehow but do not want to break everything that already have been configured on pfsense.

      3. Possible I can make an SSH user who would be changing HAproxy config. Not sure if this is secure at all.

      May be someone already have experience in setting up automation to Haproxy?
      Would be very helpful for suggestions and may be practical examples of how to.

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