Forum Discussion
Kevin_Jones_505
Feb 16, 2007Historic F5 Account
Telnet Proxy iRule
We would like an iRule that would accept a client connection on port 23, prompt the user for the desired destination (host name or IP), and then open an associated telnet session to an external host. ...
Kevin_Jones_505
Feb 22, 2007Historic F5 Account
Well, we've got our base functionality working with this:
when CLIENT_ACCEPTED {
TCP::respond "Enter the IP address of destination site.\r\n"
TCP::collect 15
}
when CLIENT_DATA {
set ip "[TCP::payload]"
node $ip
TCP::release
}
It's not user friendly; they must enter IP addresses in XXX.XXX.XXX.XXX format (leading zeros when needed) and host names aren't supported, but it works. Next two steps: add SNAT for return routing and make the IP address input better. If all goes well, then add hostname support.
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