Computing

SSHUTTLE

Sshuttle creates a VPN-like connection to a remote server running SSH.

macOS

Using HomeBrew, default settings

Install sshuttle via HomeBrew

brew install sshuttle

And tunnel traffic to the NCEAS subnets:

sshuttle -r USERNAME@aurora.nceas.ucsb.edu 128.111.196.0/23 128.111.85.0/24 -x 128.111.85.26

Other Options

Optionally, you can tunnel all UCSB traffic, or all your networking through the host you’re connecting to (in this case, aurora.nceas.ucsb.edu). You can also choose different hosts, wherever you have an SSH login.

Tunnnel all traffic to all UCSB subnets:

sshuttle -r USERNAME@aurora.nceas.ucsb.edu 128.111.0.0/16 169.231.0.0/16 -x 128.111.85.26

Tunnel all traffic (may affect Zoom performance)

sshuttle -r USERNAME@aurora.nceas.ucsb.edu 0/0 -x 128.111.85.26

Using the flag --no-latency-control can drastically improve bandwidth speeds, at the expense of latency. I saw an improvement of 12 mbit/sec to 88 mbit/sec when downloading large files.