OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Outside Traffic Redirecting to OPNSense instead of HAProxy
« previous next »
  • Print
Pages: [1]

Author Topic: Outside Traffic Redirecting to OPNSense instead of HAProxy  (Read 2239 times)

cclloyd

  • Newbie
  • *
  • Posts: 39
  • Karma: 0
    • View Profile
Outside Traffic Redirecting to OPNSense instead of HAProxy
« on: March 22, 2019, 12:52:18 am »
I have a bunch of subdomains (ex1.example.com, ex2.example.com, ...) pointing to my OPNSense router (10.0.0.1).  I also have HAProxy to proxy requests on 443 to their respective backends.

I don't recall changing anything, but now, they won't work from the outside.  Only if the DNS resolves to 10.0.0.1, and not my WAN ip, will it proxy the traffic correctly to their backends.  If you try from WAN, it gives the warning about DNS rebind attack.

How can I prevent this behavior and make it proxy correctly?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Outside Traffic Redirecting to OPNSense instead of HAProxy
 

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