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

HAProxy with multiple connections

Scheduled Pinned Locked Moved Cache/Proxy
2 Posts 2 Posters 399 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.
  • H
    hannesk
    last edited by Apr 5, 2021, 9:41 AM

    Dear all,

    As a newbie, I'd like to configure HAProxy that way that ACL takes into consideration hostname sent to the frontend and also the IP address of the source.
    As I understand, if I create two rules with the same name, the OR clause is used.

    What should I do that if condition1 and condition2 both match then client is redirected to the backend.

    Best

    Hannes

    P 1 Reply Last reply Apr 13, 2021, 7:24 PM Reply Quote 0
    • P
      PiBa @hannesk
      last edited by Apr 13, 2021, 7:24 PM

      @hannesk
      Put both of the 2 acl names behind the use_backend action.?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received