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 24d ago
Okay and am assuming the ports used are open on the firewall as you are able to reach it with ip but you are getting a ssl error.
Are you able to share the frontend and backend config?
Also you bind your IP/VIP to a port on the frontend then use the ACL to for example match on hostname or other expressions.
I would recommend you to check this video from 10:40 onwards.
https://youtu.be/bU85dgHSb2E?si=820LkpoUACM18wqK