> For the complete documentation index, see [llms.txt](https://docs.pritunl.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pritunl.com/kb/vpn/client/wireguard.md).

# 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 *OpenVPN* and *WireGuard* 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)

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
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.

```sh
/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
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pritunl.com/kb/vpn/client/wireguard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
