You can set up a reverse ssh tunnel and use TM to connect via that tunnel.  Do a man ssh to read more about it.