Forum Discussion
DamonL_356592
Nimbostratus
Mar 28, 2018Dummy TCP Server Inside F5 Using iRule?
We have an application need to take TCP client data and "mirror" it to UDP and send that data to a different destination and port. I have gotten this to work with a sideband UDP send inside an iRule...
Mar 28, 2018
You could try something like this:
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
TCP::respond "OK\r\n"
TCP::collect
}
Output:
$ telnet 10.23.98.37 80
Trying 10.23.98.37...
Connected to 10.23.98.37.
Escape character is '^]'.
data1
OK
data2
OK
data3
OK
^]
telnet> quit
Connection closed.
$
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