ansibleguy / collection_opnsense

Ansible Collection to manage OPNSense firewalls using their API
https://opnsense.ansibleguy.net
GNU General Public License v3.0
251 stars 34 forks source link

Feature: Add Support for HAProxy #68

Open Renderer6060 opened 5 months ago

Renderer6060 commented 5 months ago

Link to API

https://docs.opnsense.org/development/api/plugins/haproxy.html

Description

I currently run HAProxy as a reverse proxy and SSL offload using ACL's on OPNSense. Currently config is very manual and GUI based. Would love a way to script the addition of:

Real Servers - This is where the IP and Port of the server is configured
Backend Pools
Conditions
Rules
The addition of the new rule to a pre-configured "Public Service" - this is where my http and https rules sit and handle SSL offloading
ansibleguy commented 4 months ago

Greetings!

I need to say that I probably will not find the time to implement this in the near future. See also #64 But I am open to contributions. See Development Docs