---
updatedAt: 2025-11-11T23:17:17.000Z
agentTools:
  projectIndex: https://docs.pritunl.com/llms.txt
---

# WireGuard

Configure WireGuard client

For clients to use [**WireGuard**](https://www.wireguard.com/) it must first be enabled and configured on the server. Once the server and client have [**WireGuard**](https://www.wireguard.com/) configured a `OVPN` and `WG` button will be shown when connecting on the client to select the protocol. The server must allow the client to access the HTTPS port to allow [**WireGuard**](https://www.wireguard.com/) connections to be authenticated.

![](https://files.readme.io/b2e305a-wireguard.png "wireguard.png")

Once [**WireGuard**](https://www.wireguard.com/) is separately installed the connect button will display *OVPN* and *WG* buttons to select the connection type. If the button is not shown the client did not detect the [**WireGuard**](https://www.wireguard.com/) installation.

## Linux Client

[**WireGuard**](https://www.wireguard.com/install/) must be separately installed on the client. Below is instructions for Fedora.

```shell Linux Install
sudo dnf install wireguard-tools
```

Using [**WireGuard**](https://www.wireguard.com/) on Ubuntu may require the `resolvconf` package.

The client will determine if WireGuard is installed by checking for the exec `wg` and `wg-quick` in the `$PATH`.

## Windows Client

The [**WireGuard**](https://www.wireguard.com/install/) Windows package must be installed separately.

The client will determine if WireGuard is installed by checking for the exec `wg.exe` in the default paths.

## macOS Client

The [**WireGuard**](https://www.wireguard.com/install) app must be separately installed. Alternatively WireGuard can be installed from [**Homebrew**](https://brew.sh) by running the command `brew install wireguard-tools`. Currently this is the only supported installation method, installing WireGuard from the app store will not work. To verify the installation is running check that the command `wg-quick` from the terminal does not return `command not found`.

The client will determine if WireGuard is installed by checking for the exec `wg` and `wg-quick` in either the `$PATH` or one of the paths below.

```
/usr/bin/wg
/usr/local/bin/wg
/opt/homebrew/bin/wg
/opt/homebrew/bin/wg
wg

/usr/bin/wg-quick
/usr/local/bin/wg-quick
/opt/homebrew/bin/wg-quick
/opt/homebrew/bin/wg-quick
wg-quick
```