# Getting requests from a mobile app that only works via VPN?

**URL:** <https://discourse.mitmproxy.org/t/getting-requests-from-a-mobile-app-that-only-works-via-vpn/1711>\
**Category:** Uncategorized\
**Created:** [October 25, 2019, 8:26pm UTC](https://discourse.mitmproxy.org/t/getting-requests-from-a-mobile-app-that-only-works-via-vpn/1711 "2019-10-25T20:26:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vonpupp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/vonpupp/32/482_2.png) [@vonpupp](https://discourse.mitmproxy.org/u/vonpupp)\
**Post date:** [October 25, 2019, 8:26pm UTC](https://discourse.mitmproxy.org/t/getting-requests-from-a-mobile-app-that-only-works-via-vpn/1711/1 "2019-10-25T20:26:34Z")

</div>

Hello,

I want to check the requests of an app of video streaming that only works on mobiles phones within the US. I am not in the US, so I am having a hard time to achieve what I want.

What I have done so far is the following:

- I configured my notebook (Arch Linux) as an AP (using create\_ap) where the internet comes from eth0 and it is shared via wlan0
- I have installed mitmproxy and downloaded the certs on my android phone
- I have started the VPN on the android device (using psiphon)
- I accessed the app on the mobile and start watching the video. It works fine but on mitmproxy console all I get is:

GET google .com/gen\_204  
…  
GET [connectifitycheck.gstatic.com/generate\_204](http://connectifitycheck.gstatic.com/generate_204)  
…  
GET [play.googleapis.com/generate\_204](http://play.googleapis.com/generate_204)

I am unsure how to proceed. Any help please?

Maybe I need to start the VPN connection on the notebook and “share” the tun0 device over wlan0 instead of eth0 (if that would be possible)?

Thanks.

---

<div class="post-metadata">

**Author:** ![snowwolf75](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/snowwolf75/32/454_2.png) [@snowwolf75](https://discourse.mitmproxy.org/u/snowwolf75)\
**Post date:** [November 1, 2019, 5:03am UTC](https://discourse.mitmproxy.org/t/getting-requests-from-a-mobile-app-that-only-works-via-vpn/1711/2 "2019-11-01T05:03:10Z")

</div>

Yeah, I would have the VPN on the laptop, changing the location to the appropriate locale. Though since that was 6 days ago, maybe you’ve already done it? Did it work?
