create-tcp-proxy

Syntax

tadm create-tcp-proxy common_options 
[--origin-server-pool=origin_server_pool_name] --config=config_name tcp_proxy_name

Description

Use this command to create a new TCP proxy. A TCP proxy handles TCP requests through TCP listeners for traffic tunnelling to the listed origin servers. A TCP proxy can have several TCP listeners associated with it.

Options

For information about common_options, run the help command.

--origin-server-pool|-o

Specify the name of the origin-server pool for which you want to

--config|-c

Specify the name of the configuration for which you want to create a variable.

Operands

tcp-proxy-name

The name of the TCP proxy.

Example

tadm create-tcp-proxy --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--origin-server-pool=test-pool --config=www.example.org tcp_name1

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, delete-tcp-proxy, list-tcp-proxies, get-tcp-proxy-prop, set-tcp-proxy-prop