| SSH Tunneling |
| General Info - General Info |
| Thursday, 15 October 2009 20:50 |
|
In this article we will be covering SSH port forwarding also known as SSH tunneling. As previously discussed in our previous article Proxing Web Traffic across a SSH Tunnel using SSH Dynamic Port Forwarding, SSH port forwarding (or tunneling) re-routes TCP/IP connections through an established SSH connection. Being encapsulated within SSH provides security benefits along with the ability to route traffic through firewalls using just port 22 (SSH). Note : This article includes - Putty Commands (Windows) / SSH Commands (Linux) Forwarding your local port to a remote address This allows you to forward you local port to a remote address. Our example is based on a VNC connection to your server over a secure connection.This will create a port of 7777 on your local host. All traffic to this port will be forwarded to your remote server IP (over ssh) to the port of 5900. C:\Documents and Settings\admin> putty -L 7777:[Local Server IP]:5900 [Remote Server IP] [root@linux]# ssh -L 7777:[Local Server IP]:5900 [Remote Server IP]
Forwarding a remote port to your local address This allows you to forward a remote port to your localhost. Our example below is based on a RDP into a workstation that is sitting behind a firewall of which you only have a outbound ssh access from. C:\Documents and Settings\admin> putty -R 7777:127.0.0.1:3389 [remote server ip] [root@linux]# ssh -R 7777:127.0.0.1:3389 [remote server ip] |
Latest Articles
- F5 LTM VE 10.2.x - Interfaces not recognised
- Cisco ASA - Security Levels / NAT Control
- F5 LTM - OneConnect
- Django - CSRF verification failed. Request aborted.
- F5 LTM VE - Unable to attach to PCI device 02:01.00 for Interface 1.1
- F5 LTM - Connection Management
- Brocade ADX - FTP
- PKI - Chain of Trust
- Juniper SRX - Site to Site VPN using a Dynamic IP address
- F5 LTM - How do I perform software installations ?
- Juniper SRX - NAT
- Juniper SRX - How to configure a route based VPN
- Juniper SRX - Dynamic VPN
- Juniper SRX - How to configure a policy based VPN
- Brocade ADX - NAT
- Brocade ADX - CSW nested rules
- How do I upgrade a Juniper SRX Series gateway
- Cisco ASA - How do I capture ARP`s ?
- Juniper SRX - Configuring Source NAT with pool
- Running a packet capture on a Juniper SRX
Popular
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - How to configure NAT
- vSphere - Creating User and Group Permissions
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Configuring Wireless Connectivity within Backtrack 4 r2
- Juniper Netscreen Commands
- Juniper Netscreen - NAT Explained
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX Convertor - The session is not authenticated
- Troubleshooting a Netscreen Site 2 Site VPN
- ESX - ViClient Cannot connect to host
- Endpoint Connect Installation / Troubleshooting Guide
- Check Point - How to Reset SIC
- ESXi - Connecting to a named pipe
- Netscreen - Routing Basics / Virtual Routers / PBR
- Configuring Windows 2008 R2 as an NTP Server
- Check Point Logging Troubleshooting Guide


