Quantcast
Channel: Connect to my company's intranet LAN-only web site from outside with ssh tunnel - Super User
Viewing all articles
Browse latest Browse all 4

Answer by sjbotha for Connect to my company's intranet LAN-only web site from outside with ssh tunnel

$
0
0

SSH command-line version:

ssh -L 90:devserver:80 remotehost.example.com 

Now browse to http://devserver:90/

Remember that /etc/hosts must point to 127.0.0.1

With PuTTY, under SSH Tunnels:

  1. In Source Port enter 90
  2. In Destination enter devserver:80
  3. Click Add
  4. Remember to go back to session and click save.

Better than all the tunneling would be to get OpenVPN setup at the office.


Viewing all articles
Browse latest Browse all 4

Trending Articles