# Http/2 in reverse proxy mode

**URL:** <https://discourse.mitmproxy.org/t/http-2-in-reverse-proxy-mode/850>\
**Category:** Uncategorized\
**Created:** [February 7, 2018, 8:26pm UTC](https://discourse.mitmproxy.org/t/http-2-in-reverse-proxy-mode/850 "2018-02-07T20:26:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tester](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@tester](https://discourse.mitmproxy.org/u/tester)\
**Post date:** [February 7, 2018, 8:26pm UTC](https://discourse.mitmproxy.org/t/http-2-in-reverse-proxy-mode/850/1 "2018-02-07T20:26:11Z")

</div>

The client that I want to MITM doesn’t support setting proxies (does support changing the host endpoint address though) and talks HTTP/2 with the server, which is currently h2c (plaintext http/2, not http/2 over TLS http/2). When I try h2c-h2c reverse proxy mode, I see the PRI request and no response (server drops connection). Questions:

1. Does mitmproxy support reverse proxy mode client\<—h2c—\>mitmproxy\<----h2c----\>server?

2. Does mitmproxy support reverse proxy mode for TLS HTTP/2: client\<----h2----\>mitmproxy\<—h2—\>server

3. Anything like h2c-h2 reverse proxy mode: client\<—h2c—\>mitmproxy\<----h2----\>server ?
