Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - fire

#1
General Discussion / Re: Can't get HAProxy working
June 02, 2016, 01:58:49 PM
As you said, the firewall rule did the trick and I can now continue testing the HAproxy plugin.

Thank you for your time! My problem is now solved.
Have a nice day!
#2
General Discussion / Re: Can't get HAProxy working
June 02, 2016, 01:09:06 PM
When I try to access the URL, I have a "ERR_CONNECTION_RESET" and logs are saying:


My listen port and interface looks good:


Here are my test settings for testing HAproxy:
Frontend:


Backend:


And server:


Can you confirm it's correct? I tried to add some ACL but it doesn't work either.
#3
General Discussion / Re: Can't get HAProxy working
June 02, 2016, 11:43:52 AM
Hello Franco and Fraenki!
I have the latest version of OPNsense (16.1.15), and the HAproxy plugin is v1.1.
HAproxy logs aren't telling anything but "Proxy front/back started", and the test syntax is telling me everything is correct.

Regarding my setup, one image is better than thousands words.
Here is my current setup:


And here is the setup i want to archieve:


I'm an HAproxy noob, so there is a chance that my testconfiguration isn't correct. That's why I'd love to see a simple working example.

Thank you both for your help.

EDIT: From a security point of view, is this the correct way to proceed?
#4
Hi everyone,
Thanks for this wonderfull project. I'm using it on serverals dedicated and it work like a charm.
I have some apache reverse proxies running on those dedicated servers and I wonder to replace them with the integrated HAProxy plugin on OPNsense.

I created a test environment with a OPNsense and an Apache virtual machine. The firewall has one public IP and one private IP which is in the same subnet than the apache VM.
I configured a minimal Frontend, Backend and server. Service is ON but HAProxy is not working. Port 80 seems to be closed.

Does anyone have a configuration exemple of a working infrastructure?
I have 2 cards working with the virtio driver with Hardware CRC turned off.