opnsense / opnsense/plugins

net/haproxy: integration with crowdsec plugin

Open
#4,923 6 comments 3 reactions 1 assignee View on GitHub

@fraenki is already working on this.

Since Oct 9, 2025.

feature
Dominant language
PHP
Stars
1.2k
Forks
863
Avg merge
2d 6h
Merged PRs (30d)
10

Description

Important notices
Our forum is located at https://forum.opnsense.org , please consider joining discussions there in stead of using GitHub for these matters.

Before you ask a new question, we ask you kindly to acknowledge the following:

Hi. I searched and could not find this question.
I want to use the haproxy_spoa engine from crowdsec. To do it, I need to create a .conf to be read in by haproxy when it reads its own haproxy.conf at start/restart.

haproxy documentation says it is possible to use multiple -f when starting haproxy however to me it seems it is better, as in less complicated, to plumb it into the haproxy plugin, to find a way to make the reference into the current haproxy.conf
How can I do this? So far I've been unable to by using the +TARGET template from the opnsense documentation. Probably because I don't know where to place the new .conf file

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.