Skip to content

Instantly share code, notes, and snippets.

@binkybear
Created April 5, 2015 12:26
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 binkybear/6476a3853c934039a3b3 to your computer and use it in GitHub Desktop.
Save binkybear/6476a3853c934039a3b3 to your computer and use it in GitHub Desktop.
sshuttle
#/bin/bash
#
# Script from http://stackoverflow.com/questions/26447080/patching-sshuttles-firewall-py-ipfw-to-pf
# Modified github location for updated OSX compat
#
sudo echo "Installing PyXAPI"
curl -O http://www.pps.univ-paris-diderot.fr/~ylg/PyXAPI/PyXAPI-0.1.tar.gz
tar -xzvf PyXAPI-0.1.tar.gz
cd PyXAPI-0.1
./configure
make
sudo make install
cd ..
echo "Installing autossh"
brew update
brew install autossh
echo "Getting sshuttle"
git clone https://github.com/sshuttle/sshuttle.git
cd sshuttle/src/
echo "Please add '`pwd`' to your path or run 'alias sshuttle=`pwd`/sshuttle'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment