Navigation

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

    TCP request redirection in HAProxy

    pfSense Packages
    2
    2
    834
    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.
    • D
      Dnyaneshwar last edited by

      Hi

      how can we redirect TCP request to specifice backed server ?

      Actually i have to redirect the mysql request to specific backed depending on database name jdbc request, Is there any option like url_beg for TCP, I have tried url_beg and hdr_beg but no success.

      Is there any way for this ?

      Thanks
      Dnyaneshwar

      1 Reply Last reply Reply Quote 0
      • H
        Harvy66 last edited by

        TCP does not have a notion of a "request". TCP is just a binary stream of data, like a file stream. What you would need is a reverse proxy that could forward based on mysql protocol.

        My guess is this has not been done as it sounds like there is a better way to handle this, but I could be wrong. Hopefully someone can help you with if this can be done.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post