MR::ignore_peer_port

Description

The MR::ignore_peer_port command sets or resets the ignore_peer_port mode of the current connection. If ignore_peer_port mode is enabled, the remote port of the connection will be ignored when determining if the connection is usable for forwarding a message to a peer. For example, if a peer at IP 10.1.2.3 connects using a ephemeral port of 12345 and ignore_peer_port is enabled, a message routed to IP 10.1.2.3 port 2345 can be forwarded using this connection since the port will be ignored.

Syntax

MR::ignore_peer_port <boolean>

Examples

when CLIENT_ACCEPTED {
    MR::ignore_peer_port yes
}