Forum Discussion
ram-esh_161164
Nimbostratus
Jun 17, 2014Can I bind a virtual server port to real server port via iRule for every connection
I have this requirement -
One Client owns the server. Only client know on what port a service is running in that server. They want to send port info as some data in the connection. Since I have ...
kunjan
Nimbostratus
Jun 19, 2014I assume 2 bytes referred is in TCP payload.
Try this:
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
set port [TCP::payload 2]
TCP::release
}
when LB_SELECTED {
node [LB::server addr] $port
LB::reselect
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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