Proxy the traffic in http and https from my iPhone/iPad to VirtualBox on my Mac

Posted by Nicolas BADIA on Super User See other posts from Super User or by Nicolas BADIA
Published on 2013-11-13T09:23:06Z Indexed on 2013/11/13 10:01 UTC
Read the original article Hit count: 242

I've got a mac running a Debian VirtualBox which forward the traffic from 8080 on the mac to 80 in the box and from 8443 to 443.

The domains with the extension .dev are redirected on the mac to 127.0.0.1 with dnsmasq.

The traffic on IP 127.0.0.1 is forwarded from 80 to 8080 and from 443 to 8443 using ipfw.

So with this settings, my Debian VirtualBox gets all the traffic of my .dev domains in http or https.

What I want is to be able to proxy the traffic of my .dev domains in http and https from my iPad to my Debian VirtualBox on the mac.

I've try to setup an HTTP proxy on the ipad but I can only do it for one port (and it's not working with the port 443).

Any idea on how I could achieve that ?

© Super User or respective owner

Related posts about osx

Related posts about networking