Forum Discussion

Aapazmino1986's avatar
Aapazmino1986
Icon for Altostratus rankAltostratus
Apr 14, 2024

CONNECTION IS LOST DUE TO SELF IP IS DELIVERED

Hi team, the scenario is:  Virtual server was configured with automap. Traffic is balancing right but for the nature of this application (non-http) the connection in the node (server) must be viewing with original source ip instead of self ip address.

How can I solve this scenario attached in the picture?. I believe that I can try with NONE in source translation instead of "Automap" in VS and the server must be configured with F5 Self ip for this vlan like default gateway server. It is valid this setting or another alternative to solve this?.

Thanks.

Regards

Andrew

  • Hi Aapazmino1986,

    If your application is (non-http) you can´t set the x-forwarder-for in the requests, there are two ways to view the original IP:

    1. Configure the F5 self- ip in the servers as the default gateway, and create a couple of VS to forward the TCP and UDP traffic outside using the F5.
    2. Configure N-path to enable asymmetric traffic, but in my opinion, is the worst option.

    Hope it works.

    • Aapazmino1986's avatar
      Aapazmino1986
      Icon for Altostratus rankAltostratus

      Thanks Sebastian, I tried with npath but it did not work. I tried with self-ip in the server like a DG but connection was lost towards the server. :-(

  • In order to assist you we would really need to know the topology of the F5 and where connections originate from. The reason this information is necessary is because typically Virtual Servers (VS) do not have SNAT enabled by default and is typically configured to solve for a specific problem.