I created new topic with new information.
We have Elasticsearch cluster which has own interfaces to interconnect (transport) traffic.
When the Elasticsearch Native Java Client used by Liferay connects our cluster using the given transportAddress(the proxy address and port) in its configuration file. It gets the response from Elasticsearch and gets the real addresses and tries to use them and fails. (Because there is no route from outer world to our interconnect)
Please any help how could either the Native Elastic client or Elasticsearch be configured to use the proxy so that the real addresses are not used in client's side?