ssh tunneling to access restricted resources

To access a resource from restricted area (let the resource be: restrictedUrl.com:443) when you can ssh to a gateway (gatewayHost):

ssh login@gatewayHost -L 8013:restrictedUrl:443

Now you can access restrictedUrl:443 on localhost:8013 on your pc.

Advertisements