You might hear many times the acronym VPN which stands for Virtual Private Network, but the question is what it is, how it works and why we need it. Before that, we need to clarify a few things first.
Technically speaking, a VPN is a network tunnel. So what a network tunnel is?
It is a logical conduit through which network data flows. This conduit is usually encrypted, providing security to non-protected data.
Three are 3 types of network tunnel solutions:
- Socks 4/5
They all do the same thing, but in a different way. Different setup and installation procedures. Some of them are automatically supported by all communication software, some requires special integrations. Some requires special appliances; some are very expensive and some are free.
Here is a simple table showing the differences.
|Level of security||Moderate||Very Good||Excellent|
Proxy is a type of tunnel mostly used by the browsers, but not limited to. Inside browser one will enter proxy URL, port and optionally credentials. The Purpose of the proxy is to anonymize the identity of a user. Remote service will see the IP address of the proxy server instead of the original client. Some more advanced proxies preprocess requests and removes sensitive data or blocks adware and other online resources reaching the client browser.
Does not require special client installation. If a software product supports proxy, all what is needed is to enter proxy access point data in the software itself.
Socks tunneling is more general and works with any protocol and any software with Socks support. Desktop software connects to the sock’s client running on the same machine, instead to the remote service. The Sock client itself will act as a caller to the remote service.
Standard socks protocol has a data handshake during connection initialization, where the desktop client tells the sock client where to connect.
Unfortunately, many products do not support socks protocol. However, there are socks clients which works as a pure network pass-through without socks protocol requirements. Such sockets are instance per/target. For any client connecting to a specific target, an individual target IP address must be set. If multiple ports are required, all ports must be set also. This complicates the situation a little, but still allows tunneled secure connection for client software without socks support.
Requires special client installation, which works as a small software router. Requires desktop software to connect to localhost.
VPN might be considered as a big brother of Socks. It solves issues that exist in Socks protocol by installing a virtual network driver. All communications go through a network driver, which takes care of tunneling. Software clients do not require any special setup or does not need to support any special protocols.
However, activating VPN will cut off all other connections in different networks. This might be good or troublesome to some clients, depending on usage and user requirements.
In many cases, such products are the most expensive and sometimes requires special network appliance to be installed in company infrastructure. However, brings the best level of security.
Green Screens Tunnel
The Green Screens Tunnel implementation lays somewhere between Socks 4/5 and VPN combining features from both type of tunneling technologies. It has twofold features enabling Green Screens VPN service to run as special Socks 5 / VPN protocol built for Green Screens Server running in cloud to allow access to the IBM i machine hidden behind NAT/Firewall or to run as a standalone service for custom network tunneling layer for our VPN standalone client.