ltm rule command relate client
iRule(1) BIG-IP TMSH Manual iRule(1)
relate_client
Sets up a related established connection.
SYNOPSIS
relate_client CONFIG
DESCRIPTION
Sets up a related established connection. This can be used with
protocols that parse information out of a control connection and then
establish a data connection based on information that was exchanged in
the control connection.
RETURN VALUE
VALID DURING
ANY_EVENT
EXAMPLES
when SIP_REQUEST {
# Taken from https://devcentral.f5.com/wiki/irules.Load-Balance-Outbound-SIP-Voice-Traffic-Signaling-AND-Media-with-SNAT.ashx
# Pre-establish the UDP connection to allow RTP from Server -> Client (and vice versa)
relate_client {
proto 17
clientflow $source_VLAN $destination_RTP $destination_RTP_port $source_inside $source_RTP_port
serverflow $destination_VLAN $source_outside $source_RTP_port $destination_RTP $destination_RTP_port
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)