Forum Discussion

Mike_61577's avatar
Mike_61577
Icon for Nimbostratus rankNimbostratus
Jun 03, 2009

Redirect TCP connection based on hostname?

Hey guys,

 

Is it possible to redirect a connection based on the hostname that the request came in for? For example:

 

 

Two CNAME's pointing to the same IP. Let's call them "host1" and "host2". I want to be able to take a TCP request for "host1" and send it to a specific node behind the BIG-IP. If a TCP request comes in for "host2", I want to send it to a different node.

 

 

This is NOT for HTTP (otherwise I'd use the HTTP_REQUEST object). I can't find the requested hostname anywhere in the TCP object.

 

 

Ideas?

 

 

Thanks guys!

 

 

- Mike O'Connor