# Haproxy and proxy protocol question

**URL:** <https://discourse.haproxy.org/t/haproxy-and-proxy-protocol-question/7804>\
**Category:** Help!\
**Created:** [July 1, 2022, 9:08am UTC](https://discourse.haproxy.org/t/haproxy-and-proxy-protocol-question/7804 "2022-07-01T09:08:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marypoppins](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@marypoppins](https://discourse.haproxy.org/u/marypoppins)\
**Post date:** [July 1, 2022, 9:08am UTC](https://discourse.haproxy.org/t/haproxy-and-proxy-protocol-question/7804/1 "2022-07-01T09:08:21Z")

</div>

Dear All,

I would like to ask how can I check that an installed haproxy version can deal with the proxy protocol?  
In the feature list (haproxy -vv) there are “+TPROXY +LINUX\_TPROXY”, which I think is transparent proxy and not proxy protocol.

thank you

---

<div class="post-metadata">

**Author:** ![Baptiste](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Baptiste](https://discourse.haproxy.org/u/Baptiste)\
**Post date:** [July 1, 2022, 5:25pm UTC](https://discourse.haproxy.org/t/haproxy-and-proxy-protocol-question/7804/2 "2022-07-01T17:25:30Z")

</div>

I think Proxy protocol is compiled by default. You can simply create a dummy bind with the `accepct-proxy` directive: [HAProxy version 2.4.15 - Configuration Manual](https://cbonte.github.io/haproxy-dconv/2.4/configuration.html#accept-proxy)

---

<div class="post-metadata">

**Author:** ![marypoppins](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@marypoppins](https://discourse.haproxy.org/u/marypoppins)\
**Post date:** [July 4, 2022, 9:11am UTC](https://discourse.haproxy.org/t/haproxy-and-proxy-protocol-question/7804/3 "2022-07-04T09:11:56Z")

</div>

Thank you very much!

You are right! The config check successful and my haproxy version starts with that accept-proxy option.

thank you
