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

    HA proxy issue to resolve local ip

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    3 Posts 2 Posters 1.7k 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
      overlaps
      last edited by

      Hi everybody,

      I am having hard time to resolve this issue.
      I have a webserver behind HAProxythat I can't access internaly.
      here is the setup:

      WAN IP box | LAN IP box -- all-trafic-forwarded --> DMZ Pfsense --> HAProxy --> local webserver

      I can access the local webserver from the internet with host.domain.com
      If I try to access the webserver from lan, the traffic goes through the internet and stops at the box
      so I end up ont the box GUI

      Any ideas ?

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @overlaps
        last edited by

        @overlaps
        You need to resolve the host name to the pfSense IP in the LAN instead of the public address. This requires that you use an internal DNS server where can add a host override to.

        Otherwise you will have to configure your "box" accordingly, whatever this is.

        O 1 Reply Last reply Reply Quote 1
        • O
          overlaps @viragomann
          last edited by

          @viragomann

          Issue resolved with hostname override and haproxy listnening on LAN interface

          Thx

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