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

    (SOLVED) HAProxy Block traffic from WAN and forward client IP

    Scheduled Pinned Locked Moved Cache/Proxy
    haproxy
    2 Posts 1 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.
    • V
      varazir
      last edited by varazir

      Hello

      I like to block traffic from WAN to some backends
      Send client IP to the backend server not the pfSense IP address.
      My backends have different respons based on if the IP is LAN or External.

      haproxy 0.59_14
      pfSense 2.4.5-DEVELOPMENT (amd64)
      built on Sun Nov 04 06:47:21 EST 2018

      TIA
      Daniel

      1 Reply Last reply Reply Quote 0
      • V
        varazir
        last edited by

        Added a custom ACL and used this https://stackoverflow.com/questions/23342036/haproxy-restrict-single-backend-by-ip-range

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