I need guidance on writing a script to make this project happen.  Can anyone point me in the correct direction as to what I need to search for to find cookbook scripts to let me live in iPhone privacy?<br /><br />I want to use an encrypted SSH tunnel to secure my iOS device connection when using mobile data (3G/4G).<br /><br />With the Apple Configurator 2 free desktop app download for Windows and Mac it is possible to create a configuration profile that sets a proxy on mobile 3G/4G connections.<br /><br />I have discovered the following command at http://snipplr.com/view/16563/how-to-connect-to-a-socks-proxy-from-an-unjailbroken-iphoneipod-touch/<br /><br />ssh -N -g -D 1080 user@domain.com<br /><br />I would like to make this SSH tunnel, with the parameters set as above, make itself available to be connected to again immediately if the SSH tunnel were to close or drop.<br /><br />It would be handy to make it run in the background, too.  However, adding -f prevents the command from executing.<br /><br />So I need a bash script as a cron job.<br /><br />I am the total noob and dunce at scripting.  Very rusty coding skills anyway.<br /><br />Any help you might provide would be amazingly useful.<br /><br />Thanks in advance for anytime you spend reading or thinking about this problem.<br /><br />--<br /><br /><br />