> 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 has [**WireGuard**](https://www.wireguard.com/) configured an *OpenVPN* and *WireGuard* button will be shown in the client to allow selecting a protocol when connecting. The server must allow the client to access the HTTPS port to allow [**WireGuard**](https://www.wireguard.com/) connections to be authenticated.

After  [**WireGuard**](https://www.wireguard.com/) is enabled on the server the client configuration must be updated. If the server has a subscription the configuration sync feature will automatically update the configuration on the connection. Otherwise the profile will need to be reimported into the client.

### 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
```

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

### Windows Client

The Windows client comes bundled with [**WireGuard**](https://www.wireguard.com/install/) and requires no changes on the client.

### macOS Client

The macOS client comes bundled with [**WireGuard**](https://www.wireguard.com/install/) and requires no changes on the client.


---

# 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
