# Trying to mitmproxy for iphone

**URL:** <https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623>\
**Category:** help\
**Created:** [September 2, 2017, 11:06pm UTC](https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623 "2017-09-02T23:06:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kwame](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@Kwame](https://discourse.mitmproxy.org/u/Kwame)\
**Post date:** [September 2, 2017, 11:06pm UTC](https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623/1 "2017-09-02T23:06:52Z")

</div>

everyone works fine.  
proxy server and web interface is up and running.

but when i connect my iphone 5s to my laptops address (192.168.1.102:8080) i cant connect to the internet at all.

but when i remove the proxy and connect to 192.168.1.102 i get the message “if you can see this traffic is not passing through mitmproxy”.

when i configure windows to these settings ![image](https://canada1.discourse-cdn.com/flex030/uploads/mitmproxy1/original/1X/ebe751cd19a037769721902bfa3ab473c2d7d324.png)  
the proxy can successfully track every move on my laptop.

but when i try to use the proxy for my iphone 5s it wont work.

all im trying to do is trying to sniff for an image which gets sent to an app on my iphone 5s. ive tried hotspot + wireshark but i think mitmproxy is better.how could i do this and fix the problem? thax

---

<div class="post-metadata">

**Author:** ![Kwame](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@Kwame](https://discourse.mitmproxy.org/u/Kwame)\
**Post date:** [September 2, 2017, 11:11pm UTC](https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623/2 "2017-09-02T23:11:41Z")

</div>

EDIT: ![image](https://canada1.discourse-cdn.com/flex030/uploads/mitmproxy1/original/1X/41ecac2a1240445d9383593f00c7aba13d6ef2f8.png)

---

<div class="post-metadata">

**Author:** ![Kwame](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@Kwame](https://discourse.mitmproxy.org/u/Kwame)\
**Post date:** [September 2, 2017, 11:15pm UTC](https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623/3 "2017-09-02T23:15:25Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/mitmproxy1/original/1X/ce046c834f5012da75073349cc46ec54e2fe00f1.png)

---

<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:** [September 3, 2017, 1:27am UTC](https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623/4 "2017-09-03T01:27:23Z")

</div>

How are you configuring your iPhone? You need to set mitmproxy as a HTTP proxy. Which mitmproxy version are you using? Do you see anything in mitmproxy’s event log?

---

<div class="post-metadata">

**Author:** ![Kwame](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@Kwame](https://discourse.mitmproxy.org/u/Kwame)\
**Post date:** [September 3, 2017, 7:02pm UTC](https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623/5 "2017-09-03T19:02:22Z")

</div>

in my iphone all i do is go to wifi and click manual http proxy and use  
192.168.1.102  
8080

my mitmproxy version is mitmproxy-2.0.2-windows-installer.exe

and in the event logs i get this  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/mitmproxy1/original/1X/278eacd6c87e1503ff362e294f0ba1d3081d0f2a.png)

this is when the proxy is listening to my laptop

---

<div class="post-metadata">

**Author:** ![Kwame](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@Kwame](https://discourse.mitmproxy.org/u/Kwame)\
**Post date:** [September 3, 2017, 7:03pm UTC](https://discourse.mitmproxy.org/t/trying-to-mitmproxy-for-iphone/623/6 "2017-09-03T19:03:10Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/mitmproxy1/original/1X/bbe014b0daa4fa83086315ebc3200dc14dc11e84.png)
