Skip to content

Instantly share code, notes, and snippets.

@mheiges
Last active March 18, 2016 06:16
Show Gist options
  • Save mheiges/dfde81a687139b8fe78d to your computer and use it in GitHub Desktop.
Save mheiges/dfde81a687139b8fe78d to your computer and use it in GitHub Desktop.
Shuttle configuration
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>debug</key>
<false/>
<key>servers</key>
<array>
<dict>
<key>autoHosts</key>
<true/>
<key>autoNets</key>
<integer>2</integer>
<key>host</key>
<string>spruce.pcbi.upenn.edu</string>
<key>latencyControl</key>
<integer>1</integer>
<key>nets</key>
<array>
<array>
<string>128.91.49.128</string>
<integer>24</integer>
</array>
<array>
<string>128.192.0.0</string>
<integer>16</integer>
</array>
<array>
<string>172.16.44.0</string>
<integer>24</integer>
</array>
</array>
<key>useDns</key>
<false/>
</dict>
<dict>
<key>autoHosts</key>
<true/>
<key>autoNets</key>
<integer>2</integer>
<key>host</key>
<string>santol.gacrc.uga.edu</string>
<key>latencyControl</key>
<integer>1</integer>
<key>nets</key>
<array>
<array>
<string>128.192.0.0</string>
<integer>16</integer>
</array>
<array>
<string>128.91.49.0</string>
<integer>24</integer>
</array>
<array>
<string>172.16.30.0</string>
<integer>24</integer>
</array>
</array>
<key>useDns</key>
<false/>
</dict>
</array>
</dict>
</plist>
@mheiges
Copy link
Author

mheiges commented Sep 10, 2015

Starter configuration for Sshuttle (OS X GUI version)

Installation

  • Quit Sshuttle

  • Save this gist as ~/Library/Preferences/ca.apenwarr.Sshuttle.plist

    curl https://gist.githubusercontent.com/mheiges/dfde81a687139b8fe78d/raw -o ~/Library/Preferences/ca.apenwarr.Sshuttle.plist

  • In a Terminal, run
    defaults read ~/Library/Preferences/ca.apenwarr.Sshuttle.plist

  • Start Sshuttle

  • You should see a shuttlecock icon in your Finder's menu bar and clicking on it should display a menu with options for a UGA and a UPenn server. Choosing the one closest to you may be slightly more performant. Both will route traffic destined to UGA and Penn through sshuttle. Traffic to other destinations (e.g. google, ashleymadison) will not use sshuttle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment