Proxy help needed

Started by robert199311, June 22, 2024, 01:36:08 PM

Previous topic - Next topic
That's great news! I've now solved it with HAproxy, I then had the challenge that only the IP adres of the proxy was visible to the hosting panel. Logical behaviour but I wasn't aware that customers were using fail2ban-like functionality on their websites. Luckily I've been able to activate the PROXY protocol on the hosting services to solve that challenge.

I really like Caddy and the ease to use it, but given the IP address challenge I would still not be able to switch I'm afraid. Anyway my problem is solved for now. If someone needs help with a similar use-case feel free to dm me  :)

July 27, 2024, 04:27:48 PM #16 Last Edit: July 27, 2024, 05:35:00 PM by Monviech
Oh thank you for your answer.

Now I know what the proxy protocol is. Caddy supports that too.

https://caddyserver.com/docs/modules/layer4.handlers.proxy#proxy_protocol

You dont have to switch though, happy you got it working with HA proxy. But what you said gave me further insight. Something else to add to the new functionality. ^^

Added: https://github.com/opnsense/plugins/pull/4112/commits/e766488355d2a4631a9653a7e6bb8802b9d13083
Hardware:
DEC740