# Mitmdump being bypassed in Reverse Proxy mode

**URL:** <https://discourse.mitmproxy.org/t/mitmdump-being-bypassed-in-reverse-proxy-mode/911>\
**Category:** help\
**Created:** [March 13, 2018, 1:25pm UTC](https://discourse.mitmproxy.org/t/mitmdump-being-bypassed-in-reverse-proxy-mode/911 "2018-03-13T13:25:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhaveshgoyal](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@bhaveshgoyal](https://discourse.mitmproxy.org/u/bhaveshgoyal)\
**Post date:** [March 13, 2018, 1:25pm UTC](https://discourse.mitmproxy.org/t/mitmdump-being-bypassed-in-reverse-proxy-mode/911/1 "2018-03-13T13:25:19Z")

</div>

Hi,

I am trying to setup mitmdump as reverseproxy for Facebook(for instance) and all but the first pair of request response connections (when tried to login), bypass the proxy and get handled directly through the domain itself. Could this be due to any 3rd party connections initiated by FB login which ultimately seem to bypass the proxy or could I might be missing on some setup configuration for mitmdump. Would really appreciate some pointers on this. Thanks a lot in advance !

---

<div class="post-metadata">

**Author:** ![fenilgandhi](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/fenilgandhi/32/290_2.png) [@fenilgandhi](https://discourse.mitmproxy.org/u/fenilgandhi)\
**Post date:** [March 13, 2018, 2:35pm UTC](https://discourse.mitmproxy.org/t/mitmdump-being-bypassed-in-reverse-proxy-mode/911/2 "2018-03-13T14:35:08Z")

</div>

Can you share details on what options are you running mitmproxy with ? And your details of `mitmproxy --version` too.

---

<div class="post-metadata">

**Author:** ![bhaveshgoyal](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@bhaveshgoyal](https://discourse.mitmproxy.org/u/bhaveshgoyal)\
**Post date:** [March 13, 2018, 3:32pm UTC](https://discourse.mitmproxy.org/t/mitmdump-being-bypassed-in-reverse-proxy-mode/911/3 "2018-03-13T15:32:06Z")

</div>

Sure. Running mitmdump with a -R flag and analyzing requests through an input pyscript with -s flag.  
$\> mitmdump -R [https://facebook.com](https://facebook.com) -p [local\_port] -s [pyscript]

mitmdump version: 0.15 (Also tried using with pre built binaries from v3.0.2 but getting same results)

---

<div class="post-metadata">

**Author:** ![mhils](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/mhils/32/7_2.png) [@mhils](https://discourse.mitmproxy.org/u/mhils)\
**Post date:** [March 14, 2018, 11:03pm UTC](https://discourse.mitmproxy.org/t/mitmdump-being-bypassed-in-reverse-proxy-mode/911/4 "2018-03-14T23:03:36Z")

</div>

Hi,

it looks like you are running into the caveat listed at [https://docs.mitmproxy.org/stable/concepts-modes/#caveat-interactive-use](https://docs.mitmproxy.org/stable/concepts-modes/#caveat-interactive-use)? Besides, you should update. 😉
