Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a wired connection over a proxy server, and I'd like to share it over wireless to my iPad / other devices without proxy. Is there some software or something that allows me to do this?

share|improve this question

1 Answer 1

On OS X this is definitely possible using IPFW and redsocks (tested working on Mountain Lion and Mavericks). Basically you configure your iPad to use your Mac as the next hop, and then configure IPFW to redirect TCP connections to the proxy. With some tweaking, this can be made to work even over Bluetooth PAN!

IPFW is built in,and redsocks can be installed via HomeBrew

You should enable IP forwarding and set the scoped route flag as mentioned at http://lucumr.pocoo.org/2013/1/6/osx-wifi-proxy/ (Disclaimer: I am not the author of the linked post) and then configure redsocks to point to your parent proxy. Finally, start redsocks and add an ipfw rule like so:

sudo ipfw add fwd 127.0.0.1,12345 tcp from me to not me not dst-port 22

(The not dst-port 22 is to prevent proxy connections from being proxified leading to an infinite loop)

share|improve this answer

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.