Forward remote port of remote machine to local port through SSH

Use this command on your local machine to tunnel the port 8000 of remote machine 192.168.0.1 to your local machine at port 8000:

ssh -L 8000:192.168.0.1:8000 root@192.168.0.1