# Tunnels (/docs/netbox/v4.3/models/vpn/tunnel)



A tunnel represents a private virtual connection established among two or more endpoints across a shared infrastructure by employing protocol encapsulation. Common encapsulation techniques include [Generic Routing Encapsulation (GRE)](https://en.wikipedia.org/wiki/Generic_Routing_Encapsulation), [IP-in-IP](https://en.wikipedia.org/wiki/IP_in_IP), and [IPSec](https://en.wikipedia.org/wiki/IPsec). NetBox supports modeling both peer-to-peer and hub-and-spoke tunnel topologies.

Device and virtual machine interfaces are associated to tunnels by creating [tunnel terminations](/netbox/v4.3/models/vpn/tunneltermination/).

## Fields [#fields]

### Name [#name]

A unique name assigned to the tunnel for identification.

### Status [#status]

The operational status of the tunnel. By default, the following statuses are available:

* Planned
* Active
* Disabled

<Callout type="info" title="Custom tunnel statuses">
  Additional tunnel statuses may be defined by setting `Tunnel.status` under the [`FIELD_CHOICES`](/netbox/v4.3/configuration/data-validation/#field_choices) configuration parameter.
</Callout>

### Group [#group]

The [administrative group](/netbox/v4.3/models/vpn/tunnelgroup/) to which this tunnel is assigned (optional).

### Encapsulation [#encapsulation]

The encapsulation protocol or technique employed to effect the tunnel. NetBox supports GRE, IP-in-IP, and IPSec encapsulations.

### Tunnel ID [#tunnel-id]

An optional numeric identifier for the tunnel.

### IPSec Profile [#ipsec-profile]

For IPSec tunnels, this is the [IPSec Profile](/netbox/v4.3/models/vpn/ipsecprofile/) employed to negotiate security associations.
