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 | |
# | |
# tunnel-web.bash | |
# | |
# Forward all HTTP traffic over a proxy, by switching to a custom | |
# network location, sshing to a machine of choice, then upon | |
# disconnect, resetting to the old location. | |
# | |
# Works with macOS. | |
# |