I have a cluster which has worker nodes where my application is running.
The worker nodes IPs are like 192.168.2.X.
I have a Loadbalacer connected to worker nodes to communicate to external world.
When the application initiates a message it reaches LB with source IP as node IP i.e 192.168.2.X
On the LB I generally add a NAT rule and convert 192.168.2.X to actual application IP.
Now the problem is there are 2 applications which are sending out message to same destination using same destination port , source port is random and source IP since its always node IP it is 192.168.2.X, I am not able to add a NAT rule in LB to differentiate these 2 applications.
Can someone suggest me a workaround?