CONNECTOR::remap

Description

This command sets client/server IP/Port from connector.

Syntax

CONNECTOR::remap <client_addr | server_addr> <ip_addr>
CONNECTOR::remap <client_port | server_port> <port>

Examples

when CONNECTOR_OPEN {
    if {([CONNECTOR::profile] eq "/Common/connector_profile_1")} {
        CONNECTOR::remap client_addr 10.10.10.2
        log local0. "Remap client IP address from connector to 10.10.10.2"
        CONNECTOR::remap client_port 333
        log local0. "Remap client port from connector to 333"
        CONNECTOR::remap server_addr 20.20.20.2
        log local0. "Remap server IP address from connector to 20.20.20.2"
        CONNECTOR::remap server_port 999
        log local0. "Remap server port from connector to 999"
    }
}