#Example 1: Local Forwarding
ssh -L *:8081:host:3389 root@gateway -N
This command will listen locally on port 8081 which will forward all connections to host:3389 from the gateway server. This basically lets us access a host or port that only "gateway" can access.
#Example 2: Remote Forwarding
ssh -R *:8081:host:3389 root@gateway -N