SSH tunnel

SSH tunnel

If your data source cannot be reached over the internet, you can setup a SSH tunnel.
stunnel is another way to setup a TCP tunnel.