OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Proxy help needed
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Proxy help needed  (Read 3266 times)

robert199311

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: Proxy help needed
« Reply #15 on: July 27, 2024, 04:16:03 pm »
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  :)
Logged

Monviech (Cedrik)

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: 178
    • View Profile
Re: Proxy help needed
« Reply #16 on: July 27, 2024, 04:27:48 pm »
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
« Last Edit: July 27, 2024, 05:35:00 pm by Monviech »
Logged
Hardware:
DEC740

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Proxy help needed
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2