Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to monitor the requests (and responses) my iPhone is sending via the internet. I have a web debugging proxy called Charles on my Mac, which I would like to use to monitor my iPhone's connections. It basically works by configuring a proxy to localhost and reading that data.

I tried to share my internet connectiong my Mac, but I cannot both share my internet over Wi-Fi and connect to my Wi-Fi at the same time?

How can I accomplish this?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

You may want a second network adapter, but first try adding a second WiFi connection in the network preference pane.

You could pick a static IP address that is valid, but outside the DHCP's range (or reserved and not assigned via DHCP). Then your iPhone could proxy against the static IP and set up IP forwarding from the command line.

It would be easier to have a second interface and let the Mac software handle the routing for you. Also, be aware that firewalls should be off or configured to allow inbound traffic from the iPhone.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.