Created
June 6, 2014 13:28
-
-
Save mauron85/75ea5d58761338cd9954 to your computer and use it in GitHub Desktop.
Global OSX system level transparent proxy using redsocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
redsocks -c /usr/local/etc/redsocks.conf | |
sudo ipfw add 100 fwd 127.0.0.1,12345 dst-port 80 | |
sudo ipfw add 100 fwd 127.0.0.1,12345 dst-port 443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment