How to Tunelling without Metasploit?

Here’s a couple writeups: