Skip to content

Instantly share code, notes, and snippets.

@mauron85
Created June 6, 2014 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauron85/75ea5d58761338cd9954 to your computer and use it in GitHub Desktop.
Save mauron85/75ea5d58761338cd9954 to your computer and use it in GitHub Desktop.
Global OSX system level transparent proxy using redsocks
#!/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