# HAProxy between Oracle JOLT client and Oracle Tuxedo Server

**URL:** <https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704>\
**Category:** Help!\
**Created:** [January 9, 2020, 8:34am UTC](https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704 "2020-01-09T08:34:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![senattcs](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@senattcs](https://discourse.haproxy.org/u/senattcs)\
**Post date:** [January 9, 2020, 8:34am UTC](https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704/1 "2020-01-09T08:34:38Z")

</div>

Did anyone tried to implement HAProxy on Oracle Tuxedo Server?

JOLT Client-\>HAProxy-\>Tux Server.

I’m not super familiar with Tux Server, but here is my understanding of how it works.  
assume: there are 3 tux servers : ip1:port1, ip2:port2, ip3:port3  
to Connect to these 3 servers, we go through ip4:port4 and this ip4:port4 returns above 3 tux servers IP and ports and client establishes a physical connections with ip1,ip2,ip3 (not with ip4).

when I installed HAProxy in TCP mode between client and Tux servers, still client establishes connections with Tux servers. what I want is  
client should have connection with HAproxy and HAProxy should have connections with Tux servers.

[https://docs.oracle.com/cd/E13161\_01/tuxedo/docs10gr3/jdg/dvintro.html](https://docs.oracle.com/cd/E13161_01/tuxedo/docs10gr3/jdg/dvintro.html)

Possible? any ideas? Please 🙂.

---

<div class="post-metadata">

**Author:** ![senattcs](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@senattcs](https://discourse.haproxy.org/u/senattcs)\
**Post date:** [January 10, 2020, 4:30pm UTC](https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704/2 "2020-01-10T16:30:00Z")

</div>

Lukas Tribus- need your wisdom and help here please…

---

<div class="post-metadata">

**Author:** ![senattcs](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@senattcs](https://discourse.haproxy.org/u/senattcs)\
**Post date:** [January 13, 2020, 4:07am UTC](https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704/3 "2020-01-13T04:07:09Z")

</div>

@lukastribus is this possible? need your help please.

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [January 13, 2020, 8:31am UTC](https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704/4 "2020-01-13T08:31:26Z")

</div>

I don’t know anything about Oracle Tuxedo, sorry.

Haproxy will not rewrite IP addresses in applications protocols, so you cannot reverse-proxy those applications, just like FTP.

---

<div class="post-metadata">

**Author:** ![senattcs](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@senattcs](https://discourse.haproxy.org/u/senattcs)\
**Post date:** [January 13, 2020, 6:24pm UTC](https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704/5 "2020-01-13T18:24:59Z")

</div>

@lukastribus Thank you for your reply. My understanding is that in reverse proxy, there will be a connection from Client to HAproxy and HAProxy to backend. But in Tuxedo case, initial connection is from Client to HAP and HAP to Tuxedo, but all subsequent transactions go directly from Client to Tuxedo.  
I think that’s how Jolt works but Im trying to find if there is an alternative way.

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [January 13, 2020, 7:39pm UTC](https://discourse.haproxy.org/t/haproxy-between-oracle-jolt-client-and-oracle-tuxedo-server/4704/6 "2020-01-13T19:39:42Z")

</div>

Correct, this confirms that the application transmit the original backend IP address within the protocol, which makes the client then bypass the proxy.

Either you can configure the backend application to use the IP address of haproxy for this, or you can’t use a reverse proxy here.

Haproxy itself won’t be able to alleviate this.
