Forum Discussion
Hannu_Mallat_36
Nimbostratus
Sep 20, 2005Handling inbound and outbound connections through the same LB node?
Hi,
I haven't been able to find an answer yet for the following problem in the documentation so I'm bothering the forum with it.
I'm sandwiching a bunch of traffic inspection devices between BigIP's. The devices are transparent on IP level, so I'm using virtual wildcard servers. The traffic flows (TCP sessions, UDP flows) can be initiated from either internal (client) or external (server) side, though usually the first flow originates from the internal side. Take as an example the "old style" (non-passive) FTP, the client initialises the control connection but the server the data connection.
How do I make sure that the same load balancing decision is made on both sides of the sandwich? I.e., if internal BigIP has decided to route ftp control connection through node N1, how do I assure that the external one routes server-initiated ftp data TCP session also through N1 and no other node?
Note that the problem is not specific to FTP, I'm merely using it as an example.
TIA,
Hannu
2 Replies
Sort By
- Brian_Gupta_115
Nimbostratus
In the case of FTP, F5 has written a protocol specific "profile" to handle this. - drteeth_127330Historic F5 AccountFirst, let me say that this is tricky business. That being said, you have a couple of options. Since your device is transparent at L3, you can try hash mode persistence or using the session table. On the client side, you would hash on the source address and on the serverside you would hash on the destination address.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects