---
title: Charmhub | Deploy WireGuard gateway using Charmhub - The Open Operator Collection
description: Deploy the latest version of WireGuard gateway on any cloud.
url: https://charmhub.io/wireguard-gateway/configurations
---

# WireGuard gateway

[Weii Wang](https://charmhub.io/publisher/weii-wang "View all packages from Weii Wang")

* [Weii Wang](https://charmhub.io/publisher/weii-wang "View all packages from Weii Wang")

Platform:

24.04

edge d4c82d25

```
juju deploy wireguard-gateway --channel edge
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [advertise-prefixes](https://charmhub.io/wireguard-gateway/configurations#advertise-prefixes)
* [tunnels](https://charmhub.io/wireguard-gateway/configurations#tunnels)
* [vips](https://charmhub.io/wireguard-gateway/configurations#vips)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* advertise-prefixes | string

  Comma-separated list of non-overlapping IPv4 and/or IPv6 prefixes to advertise to other integrated WireGuard gateways. These prefixes represent the networks reachable from this gateway. Link-local addresses and broadcast addresses must not be advertised. Example of this configuration: "10.0.0.0/24,2001:db8:100::/64"
* tunnels | int

  Default: 2

  Maximum number of WireGuard tunnels to establish per remote unit. If a remote WireGuard gateway contains multiple units, this gateway will create up to configured number of tunnels with each remote unit. If the two peers are configured with different values, the effective tunnel count is the smaller of the two. Increasing this value may improve throughput on multi-core machines when it is CPU-bound.
* vips | string

  Comma-separated list of VRRP virtual IP addresses (VIPs) in CIDR notation. Each entry must include an IP address and prefix length. Example: "10.0.0.1/24,2001:db8::1/32"
