title: selenium-wire behind VPN
body: <p>I having a trouble finding information on this and was hoping someone could provide information on why this doesn't work.</p>
  <p>I always do my web scrapping with a VPN. Below is my typical setup:</p>
  <pre><code>driver &lt;--&gt; openvpn &lt;--&gt; website
  </code></pre>
  <p>However, recently I've had a need to intercept requests so I'm trying to use selniumwire. It works fine if I don't use the VPN , but when I'm connected to the VPN it causes all kinds of issues. Sometimes it looks like a page is loaded fine but seleniumwire was unable to intercept the responses other times the pages never loads. Does anyone know why this doesn't work? Is the mitmproxy instance seleniumwire spins up not passing traffic trough the tun0 interface created by openvpn?</p>
  <p>Below is what I am trying to achieve:</p>
  <pre><code>driver &lt;--&gt; selenium-wire (mitmproxy) &lt;--&gt; openvpn &lt;--&gt; website
  </code></pre>