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

    HA Proxy - Shared TCP?

    pfSense Packages
    2
    2
    560
    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
      vito
      last edited by

      Can HA proxy be configured to route TCP connections by host name?

      Example: I have three applications that communicate over 443
      Each has a host name
      host1.domain.com to server 1
      host2.domain.com to server 2
      host3.domain.com to server 3

      When i change the front end type to tcp the option in the ACL is lost for "host matches" is not available.

      Thanks in advance.

      vito

      1 Reply Last reply Reply Quote 0
      • S
        Soyokaze
        last edited by

        No, you can't do that.
        HTTP protocol includes HOST directive to allow endpoint to understand which website is accessed (see https://en.wikipedia.org/wiki/File:Http_request_telnet_ubuntu.png for example).
        TCP protocol does not have such functionality, it doesn't even know anything about hostnames or websites, it works with IPs only.

        Need full pfSense in a cloud? PM for details!

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