HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_compute_target-tcp-proxies_create.1
.TH "GCLOUD_COMPUTE_TARGET\-TCP\-PROXIES_CREATE" 1



.SH "NAME"
.HP
gcloud compute target\-tcp\-proxies create \- create a target TCP proxy



.SH "SYNOPSIS"
.HP
\f5gcloud compute target\-tcp\-proxies create\fR \fINAME\fR \fB\-\-backend\-service\fR=\fIBACKEND_SERVICE\fR [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-[no\-]proxy\-bind\fR] [\fB\-\-proxy\-header\fR=\fIPROXY_HEADER\fR;\ default="NONE"] [\fB\-\-backend\-service\-region\fR=\fIBACKEND_SERVICE_REGION\fR\ |\ \fB\-\-global\-backend\-service\fR] [\fB\-\-global\fR\ |\ \fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fBgcloud compute target\-tcp\-proxies create\fR is used to create target TCP
proxies. A target TCP proxy is referenced by one or more forwarding rules which
define which packets the proxy is responsible for routing. The target TCP proxy
points to a backend service which handle the actual requests.



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fINAME\fR

Name of the target TCP proxy to create.


.RE
.sp

.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-backend\-service\fR=\fIBACKEND_SERVICE\fR

A backend service that will be used for connections to the target TCP proxy.


.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR

An optional, textual description for the target TCP proxy.

.TP 2m
\fB\-\-[no\-]proxy\-bind\fR

This field only applies when the forwarding rule that references this target
proxy has a \f5\-\-load\-balancing\-scheme\fR set to
\f5INTERNAL_SELF_MANAGED\fR.

When this field is set to \f5true\fR, Envoy proxies set up inbound traffic
interception and bind to the IP address and port specified in the forwarding
rule. This is generally useful when using Traffic Director to configure Envoy as
a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy
listens for inbound requests and handles requests when it receives them.

Use \fB\-\-proxy\-bind\fR to enable and \fB\-\-no\-proxy\-bind\fR to disable.

.TP 2m
\fB\-\-proxy\-header\fR=\fIPROXY_HEADER\fR; default="NONE"

The type of proxy protocol header to be sent to the backend. \fIPROXY_HEADER\fR
must be one of:

.RS 2m
.TP 2m
\fBNONE\fR
No proxy header is added.
.TP 2m
\fBPROXY_V1\fR
Enables PROXY protocol (version 1) for passing client connection information.
.RE
.sp


.TP 2m

At most one of these can be specified:


.RS 2m
.TP 2m
\fB\-\-backend\-service\-region\fR=\fIBACKEND_SERVICE_REGION\fR

Region of the backend service to operate on. If not specified it will be set to
the region of the TCP Proxy. Overrides the default \fBcompute/region\fR property
value for this command invocation.

.TP 2m
\fB\-\-global\-backend\-service\fR

If set, the backend service is global.

.RE
.sp
.TP 2m

At most one of these can be specified:


.RS 2m
.TP 2m
\fB\-\-global\fR

If set, the target TCP proxy is global.

.TP 2m
\fB\-\-region\fR=\fIREGION\fR

Region of the target TCP proxy to create. If not specified, you might be
prompted to select a region (interactive mode only).

To avoid prompting when this flag is omitted, you can set the
\f5\fIcompute/region\fR\fR property:

.RS 2m
$ gcloud config set compute/region REGION
.RE

A list of regions can be fetched by running:

.RS 2m
$ gcloud compute regions list
.RE

To unset the property, run:

.RS 2m
$ gcloud config unset compute/region
.RE

Alternatively, the region can be stored in the environment variable
\f5\fICLOUDSDK_COMPUTE_REGION\fR\fR.


.RE
.RE
.sp

.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.

Run \fB$ gcloud help\fR for details.



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha compute target\-tcp\-proxies create
.RE

.RS 2m
$ gcloud beta compute target\-tcp\-proxies create
.RE