# PROXY Protocol for a TCP Connection to an Upstream

**URL:** <https://discuss.konghq.com/t/proxy-protocol-for-a-tcp-connection-to-an-upstream/9755>\
**Category:** General\
**Tags:** kubernetes, kong-gateway\
**Created:** [February 7, 2022, 10:46am UTC](https://discuss.konghq.com/t/proxy-protocol-for-a-tcp-connection-to-an-upstream/9755 "2022-02-07T10:46:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delayin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/delayin/32/3250_2.png) [@Delayin](https://discuss.konghq.com/u/Delayin)\
**Post date:** [February 7, 2022, 10:46am UTC](https://discuss.konghq.com/t/proxy-protocol-for-a-tcp-connection-to-an-upstream/9755/1 "2022-02-07T10:46:57Z")

</div>

Hi all, I am wondering how to turn on Proxy Protocol V2 towards the upstream as detailed on

[Accepting the PROXY Protocol | NGINX Documentation](https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/) under the heading “PROXY Protocol for a TCP Connection to an Upstream”

---

<div class="post-metadata">

**Author:** ![traines](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/traines/32/158_2.png) [@traines](https://discuss.konghq.com/u/traines)\
**Post date:** [February 7, 2022, 5:51pm UTC](https://discuss.konghq.com/t/proxy-protocol-for-a-tcp-connection-to-an-upstream/9755/2 "2022-02-07T17:51:10Z")

</div>

You can, yes. There are several kong.conf settings that are the same as the underlying NGINX configuration:

> **[Configuration Reference for Kong Gateway - v2.7.x | Kong Docs](https://docs.konghq.com/gateway/2.7.x/reference/configuration/#trusted_ips)**
>
> Documentation for Kong, the Cloud Connectivity Company for APIs and Microservices.

> **[Configuration Reference for Kong Gateway - v2.7.x | Kong Docs](https://docs.konghq.com/gateway/2.7.x/reference/configuration/#proxy_listen)**
>
> Documentation for Kong, the Cloud Connectivity Company for APIs and Microservices.

If you’re using the Helm chart, you won’t configure the `KONG_PROXY_LISTEN` value directly. `proxy_protocol` and other listen parameters are set in the `proxy.http(s).parameters` sections of values.yaml: [https://github.com/Kong/charts/blob/26eff4f94d23f272a64efdfff3a5d109d923b6df/charts/kong/values.yaml#L231-L252](https://github.com/Kong/charts/blob/26eff4f94d23f272a64efdfff3a5d109d923b6df/charts/kong/values.yaml#L231-L252)
