> ## Documentation Index
> Fetch the complete documentation index at: https://tunnelfleet.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenVPN

> Use OpenVPN TCP and OpenVPN UDP with TunnelFleet.

TunnelFleet supports two OpenVPN transports on the same server. Pick the one that matches the network you are on.

## Protocols

| Protocol        | Port         | When to use                                                  |
| --------------- | ------------ | ------------------------------------------------------------ |
| **OpenVPN TCP** | **443/TCP**  | Restrictive firewalls, captive portals, UDP-blocked networks |
| **OpenVPN UDP** | **1194/UDP** | Typical OpenVPN clients when UDP is allowed                  |

You can enable both at once and give users separate `.ovpn` profiles.

## Auth model

OpenVPN users authenticate with **username and password**. Profiles are shared per protocol on the server; credentials are per VPN user.

1. Create a user on the **Users** tab (or use the default `tunnelfleet` user)
2. Download the `.ovpn` for TCP or UDP
3. Import into OpenVPN Connect (or another compatible client)
4. Sign in with the VPN username and password

Typical filenames:

```text theme={null}
{server}-openvpn-tcp.ovpn
{server}-openvpn-udp.ovpn
```

Public profile URLs look like:

```text theme={null}
https://tunnelfleet.com/openvpn/{token}/openvpn-tcp
https://tunnelfleet.com/openvpn/{token}/openvpn-udp
```

## Client platforms

<Columns cols={2}>
  <Card title="Windows" href="/docs/openvpn/windows" icon="windows">
    OpenVPN Connect on Windows.
  </Card>

  <Card title="macOS" href="/docs/openvpn/macos" icon="apple">
    OpenVPN Connect on Mac.
  </Card>

  <Card title="Linux" href="/docs/openvpn/linux" icon="linux">
    OpenVPN CLI on Linux.
  </Card>

  <Card title="Android" href="/docs/openvpn/android" icon="mobile">
    OpenVPN Connect on Android.
  </Card>

  <Card title="iPhone" href="/docs/openvpn/iphone" icon="mobile">
    OpenVPN Connect on iOS.
  </Card>
</Columns>

## Firewall

Allow **TCP 443** for OpenVPN TCP and **UDP 1194** for OpenVPN UDP on the VPS and in any cloud security group. Use **Protocols → Repair Firewall** if ports need to be re-applied.

## Troubleshooting

* Auth failed → wrong username/password or user still pending sync
* TLS handshake timeout → port blocked on cloud firewall
* Works on TCP but not UDP → network is filtering UDP; use the TCP profile

Stream details from the server **Observe** tab — see [Logs](/docs/servers/logs).
