> Source: https://docs.cyberelements.io/bastion/4.7/sl/Usage/Administration/AdminConsole/MainWorkPanel/Applications/StandardApplications/GenericTunnelStandard/

# Generic tunnel

> **Application fact sheet**
>
> | Video recording | CyberElements client | Desktop client |
> |---|---|---|
> | ❌ | ✅ | ✅ |

The **Generic tunnel** type opens one or more TCP/UDP tunnels between the user's workstation and internal targets, written as `server:port`. Once the tunnel is up, it can launch a local executable that talks to it.

It is the fallback type for protocols that have no dedicated one: a database, a line-of-business client, an administration tool.

![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_AdminConsole_Applications_GenericTunnel_Targets.png)

## Comparison with the VPN

Both types give the workstation a route to the inside, but they do not open the same thing.

| Criterion | Generic tunnel | [VPN](https://docs.cyberelements.io/bastion/4.7/sl/Usage/Administration/AdminConsole/MainWorkPanel/Applications/StandardApplications/VpnStandard/) |
|---|---|---|
| What is opened | named ports towards named targets | a network interface and subnets |
| Reach | the declared list, nothing else | whatever the pushed routes reach |
| Desktop client | available | absent |

The tunnel is the more restrictive choice: as soon as the list of targets can be established, it is preferable to a VPN.

## Prerequisites

1. The **CyberElements client** on the workstation: it opens the local ports.
2. The targets reachable from an [Edge Gateway](https://docs.cyberelements.io/bastion/4.7/sl/Usage/Administration/AdminConsole/MainWorkPanel/SitesAndGateways/Gateways/) of the site.
3. **At least one** `server:port` target: validation refuses the form otherwise, except in dynamic mode.

## Limits

- **No video recording**, and no recording option nor comment prompt: the type offers none.
- **No single server field**: the target is a list.
- Nothing travelling through the tunnel is recorded or inspected.
- **Standard only.**

---

The details of the fields are in the [module reference](https://docs.cyberelements.io/bastion/4.7/sl/Usage/Reference/AdminConsole/Applications/#create-an-application).

The API endpoints that drive this object are described in the [API reference](https://docs.cyberelements.io/bastion/4.7/sl/API/APIGuide/#get-/publicapi/-org-/standardportforwardservices/).
