I occasionally need to be able to secure my traffic while I’m out and about. I’ve written the following script to automate Ubuntu desktop to configure and connect to a remote ssh host for system-wide proxying.
Let me know if you have any trouble with it.