SOCKS::destination

Description

This command enables the user to query and/or set parts of the requested connection.

Syntax

SOCKS::destination [<host> | <port>]

SOCKS::destination

  • sets/gets the SOCKS destination host/port combination

SOCKS::destination host

  • sets/gets the SOCKS destination host

SOCKS::destination port

  • sets/gets the SOCKS destination port

Examples

when SOCKS_REQUEST {
 SOCKS::destination 10.1.0.1:9090
}

when SOCKS_REQUEST {
  if { [SOCKS::destination host] equals "10.1.0.99" } {
    SOCKS::allowed 0
  }
}