ltm rule command SOCKS destination
iRule(1) BIG-IP TMSH Manual iRule(1)
SOCKS::destination
This command allows you to get or set the SOCKS destination host or
port.
SYNOPSIS
SOCKS::destination ('host')? (HOST_ADDRESS)?
SOCKS::destination 'port' (PORT)?
DESCRIPTION
This command allows you to get or set the SOCKS host or port,
individually, or both at the same time.
Details (Syntax): SOCKS::destination "hostname:port"
Sets the destination to the given hostname and port tuple.
SOCKS::destination
Gets the destination in the format "hostname:port".
SOCKS::destination host "hostname"
Sets the destination to the given hostname, doesn't change the
port. SOCKS::destination host
Gets the destination hostname. (Without appending the port.)
SOCKS::destination port "port_number"
Sets the destination port, doesn't change the hostname.
SOCKS::destination port
Gets the destination port.
RETURN VALUE
VALID DURING
SOCKS_REQUEST
EXAMPLES
when SOCKS_REQUEST {
SOCKS::destination example.com:1234
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.5.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)