DelphiFAQ Home Search:

Setting up an SSH tunnel into a corporate network


commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.


How can I access a machine that is on my company's internal network? I want to access an internal web server. The machine has the IP number but it has not external visible IP number.
My company has one machine open that allows SSH access.


You can set up a tunnel to that internal machine using an SSH client, for example the popular 'putty'.
You can download putty here.

Here are the steps necessary to set up a tunnel to a web server on
1. Open putty, 
        - Host Name:
        - Port: 22
        - SSH: check the box for "Enable compression"
                - X11: check the box for "Enable X11 forwarding"
                - Tunnels:   Source port: 8888
                                 (the target you want to browse) 
                    Then select "Add"
    Select "Open"
2. Open Microsoft Internet Explorer:
    Tools --> Internet Options
    select "Connections" tab
    Select "LAN Settings"
    Check the box "Use a proxy server for your LAN ....."
        and enter localhost for Address and 8888 for Port
3. Type http://localhost:8888/ 

Remember to undo step 2 after done step 3, otherwise you can't browse the internet later on.




NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: