iphone uses the SOCKS agent on your Mac

Source: Internet
Author: User

Step 1. Make sure the SOCKS tunnel on your work computer allows LAN connections so your iphone/ipod Touch can connect to it.

ssh -N -g -D 1080 [email protected]

Step 2. Create a text file and insert the following code:

function FindProxyForURL(url, host){      return "SOCKS 192.168.xx.xx:yyyy";}

Replace The X ' s with your IP and the Y's with the port used after the-d in your SSH command

Step 3. Save the text file as a Proxy auto-config (PAC) file to a Web accessible a . pac Extension.

If you ' re reading this chances is you know what to serve a file over HTTP on your work LAN, so I won ' t delve into that.

Step 4. Finally, on your iphone/ipod Touch, go to settings>wifI and click the blue arrow to the right of your work net Work. Scroll to the bottom, click Auto and type in the address to your PAC file (e.g. HTTP://192.168.XX.XX/MYSUPERSECRETPROXY.PA c).

iphone uses the SOCKS agent on your Mac

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.