Tunnel Setup on Windows Without a VPN Using PuTTY
Introduction
There are situations where you may need to securely access resources on a remote network without setting up a traditional VPN. SSH tunnelling provides a simple and secure way to route your traffic through a remote server using an encrypted connection.
Common Use Cases
- Access applications or websites that are restricted to a specific network.
- Connect to services hosted on a private network through a remote server.
- Secure your browsing traffic when using an untrusted network.
Prerequisites
Before you begin, ensure you have:
- A Windows system
- SSH access to the remote server
- PuTTY installed
- The server’s IP address or hostname
- SSH username and password (or SSH key)
Implementation
Step 1: Configure the SSH Session
- Open PuTTY.
- Under Session, enter the following details:
- Host Name (or IP Address):
<Your Server IP Address> - Port:
<SSH Port>(default:22) - Connection Type:
SSH
- Host Name (or IP Address):
Step 2: Configure the SSH Tunnel
- In the left navigation pane, go to: Connection → SSH → Tunnels
- Configure the following settings:
- Source Port:
1990 - Select Dynamic
- Source Port:
- Click Add.
The new tunnel should appear in the forwarded ports list.

Step 3: Connect to the Server
- Return to the Session page.
- Click Open.
- Enter your SSH username and password when prompted.
Once the connection is established, the SSH tunnel is active.
Step 4: Configure Firefox to Use the Tunnel
- Open Firefox.
- Navigate to: Settings → Network Settings
- Select Manual proxy configuration.
- Configure the following:
- SOCKS Host:
localhost - Port:
1990 - SOCKS Version:
5(recommended)
- SOCKS Host:
- Click OK to save the settings.
Firefox will now route its traffic through the SSH tunnel.
Verification
To verify that the tunnel is working correctly:
- Open Firefox.
- Visit an IP lookup website such as
http://whatismyip.com. - Confirm that the displayed public IP address matches your remote server’s IP address instead of your local ISP’s IP.
If the server’s IP is displayed, the SSH tunnel has been configured successfully.
Conclusion
Using PuTTY to create a dynamic SSH tunnel is a simple and secure alternative to a VPN for accessing remote or private network resources. Once configured, applications that use the SOCKS proxy (such as Firefox) can securely route their traffic through the remote server without requiring additional VPN software.
