article

A tunneling protocol is a network protocol which encapsulates one protocol or session inside another. Protocol A is encapsulated within protocol B, such that A treats B as though it were a data link layer. Tunneling may be used to transport a network protocol through a network which would not otherwise support it. Tunnelling may also be used to provide various types of VPN functionality such as private addressing.

Examples include:

Datagram-based:

Stream-based:

SSH tunneling


SSH is frequently used to tunnel insecure traffic over the Internet in a secure way. For example, Windows machines can share files using the Samba (SMB) protocol, which is not encrypted. If you were to mount a Windows filesystem remotely through the Internet, someone snooping on the connection could see your files.

So to mount a SMB file system securely, one can establish an SSH tunnel that routes all SMB traffic to the fileserver inside an SSH-encrypted connection. Even though the SMB traffic itself is insecure, because it travels within an encrypted connection it becomes secure.

Tunneling can also be used to bypass a system firewall.

See also


References


Tunneling protocols

Síťové tunelování | Tunnel (EDV) | Tunnel (réseau informatique) | Tunneling | Tunnelingprotocol | Tunneling

 

This article is licensed under the GNU Free Documentation License. It uses material from the "Tunneling protocol".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld