Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAProxy: With DNS Resolver

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 496 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      oguruma
      last edited by

      I have a couple webservers in a DMZ.

      I use DNS Resolver host overrides pointing to the IP of the webserver.

      Now, that I am using HAProxy, I cannot load those sites, anymore (Connection Timeout).

      I can still get to those sites if I get rid of the Host Override and come back in through the WAN, but I need to be able to get through them without going through the WAN, so I don't have to forward the other ports I need (10000 for Virtualmin).

      P 1 Reply Last reply Reply Quote 0
      • P
        PiBa @oguruma
        last edited by

        @oguruma
        Disabling transparent-client-ip on haproxy would probably make it work.?.

        Or make haproxy use a different port on the webserver for handling its requests. (Configure the webserver to listen on 2 ports, one for direct requests :443, the other for example :1443 for haproxy's transparent requests.)

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.