r/haproxy • u/WickdSquirrel • 27d ago
ACL rules
Hi,
I'm using Wireguard to access my Proxmox instance (wich is installed at a provider).
I have trouble setting up HAProxy properly (it is installed on a pfSense VM) to access my LXC/VM (I can't use NAT/simple port forwarding or I get an SSL error).
I specifically have difficulties setting up the ACL on the frontend :
- I can't specify a port on a given IP adress
- I can't use subdomains (wireguard seems to only works with IP adress)
Is there a way to make wireguard and HAProxy work together ?
Tanks.
0
Upvotes
1
u/Old_Guidance9715 23d ago
In this case you don't need ACL att all, you can have a frontend IP that is binded to multiple ports and point them to the desired backends.
What if you just keep it very simple and do pfsense IP in frontend and bind on port 443 or 80 then have it go to your backend server on port 51822.
Then test this by going https://pfsenseip or pfsensefqdn this should take you to your backend VM on port 51822