# \[WireGuard Client\] Connect your server to VPNs

**URL:** https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921
**Category:** Apps
**Tags:** wireguard, english
**Created:** [March 2, 2023, 10:34pm UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921 "2023-03-02T22:34:41Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [March 2, 2023, 10:34pm UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/1 "2023-03-02T22:34:42Z")

</div>

# WireGuard client for YunoHost

> **CI update pending**
>
> [![Integration level](https://dash.yunohost.org/integration/wireguard_client.svg)](https://dash.yunohost.org/appci/app/wireguard_client) ![](https://ci-apps.yunohost.org/ci/badges/wireguard_client.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/wireguard_client.maintain.svg)

> WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN.  
> – [https://www.wireguard.com/](https://www.wireguard.com/)

## Features

This is a special app, as all its magic happens through its configuration panel within the YunoHost webadmin.

 ![image](https://forum.yunohost.org/uploads/default/original/2X/2/25e2c8b2a5ccea739fec90f999dec190cb7c8aa7.png)

## Installation

This WireGuard Client package can be installed through:

- [![Install WireGuard Client with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=wireguard_client)
- YunoHost’s webadmin, in the Community listing
- YunoHost’s CLI: `yunohost app install wireguard_client`.

After installation, open your browser to WireGuard’s configuration panel in the webadmin.

## Configuration

The first part of the configuration panel is a table summarizing the status of the VPN interfaces created by the app.

To add new interfaces:

1. List them in the `List of VPN clients to handle`. Click on `Save` to regenerate the configuration panel with the new interfaces.

2. Choose if the interface should be started at boot.

3. Upload the `.conf` file provided by the Wireguard Server.

⚠ Be wary of:

- the PostUp and PostDown instructions, they are run as `root`.
- the `AllowedIPs`, especially `0.0.0.0/0` and/or `::/0`, as they will make your server redirect all its outgoing traffic through the VPN. Make sure the VPN works before enforcing them.

## Documentation

- Official documentation: [Quick Start - WireGuard](https://www.wireguard.com/quickstart/)

## YunoHost specific features

#### Multi-user support

All users belonging to the `admins` group will have access to the configuration panel.

#### Supported architectures

All the ones supported by WireGuard.

## Links

- Report a bug: [GitHub · Where software is built](https://github.com/YunoHost-Apps/wireguard_client_ynh/issues)
- App website: [https://www.wireguard.com](https://www.wireguard.com)
- Upstream app repository: [Repositories - WireGuard](https://www.wireguard.com/repositories)
- YunoHost website: [https://yunohost.org/](https://yunohost.org/)

## Troubleshooting

Open a new thread in the Support category of this forum.

If a missing feature or bug is well identified, you can go directly to [Github](https://github.com/YunoHost-Apps/wireguard_client_ynh/issues). Remember to add your logs and error messages to help us help you help us all. 🤖

---

<div class="post-metadata">

### Author: ![HoldMyGin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/holdmygin/32/3701_2.png) [@HoldMyGin](https://forum.yunohost.org/u/HoldMyGin)
#### Post date: [March 3, 2023, 1:50am UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/2 "2023-03-03T01:50:14Z")

</div>

Hello and thanks for this. One question though; How will i be able to access Yunohost remotely? Supposedly if my wireguard server offers a static ip. Should also be a port open to access? Does this mean that any app will be accessed through that open port?

---

<div class="post-metadata">

### Author: ![ghose](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ghose/32/10939_2.png) [@ghose](https://forum.yunohost.org/u/ghose)
#### Post date: [March 3, 2023, 5:31am UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/3 "2023-03-03T05:31:45Z")

</div>

as @HoldMyGin

please, how this affects server connectivity for external public services like webapp, im, etc.?

thanks

---

<div class="post-metadata">

### Author: ![Nico1](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@Nico1](https://forum.yunohost.org/u/Nico1)
#### Post date: [March 3, 2023, 8:01am UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/4 "2023-03-03T08:01:01Z")

</div>

Hello, can this app be a complement to this one especially for the post part?

> [@Homemade WireGuard VPN on a VPS server](https://forum.yunohost.org/t/homemade-wireguard-vpn-on-a-vps-server/15662):
>
> Je poste ça ici, car je penses que cela peut être utile à d’autres membres de la communauté. I’m posting this here because I think it may be useful to other members of the community. Mes objectifs - My goals : Je souhaitais pouvoir disposer d’une adresse IPV4 et IPV6 fixe. Je souhaitais pouvoir personnaliser le reverse DNS en IPV4 et en IPV6 Je souhaitais une vitesse de connexion rapide digne de la fibre Je souhaitais une solution à moins de 15/20 € par an I wanted to have a fixe…

---

<div class="post-metadata">

### Author: ![tomas](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tomas/32/2946_2.png) [@tomas](https://forum.yunohost.org/u/tomas)
#### Post date: [March 7, 2023, 7:46pm UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/5 "2023-03-07T19:46:09Z")

</div>

> [@Nico1](#):
>
> Hello, can this app be a complement to this one especially for the post part?

It should be able to do the same thing, but @rungeard :s post is then showing all the NAT-rules etc.

---

<div class="post-metadata">

### Author: ![Nico1](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@Nico1](https://forum.yunohost.org/u/Nico1)
#### Post date: [March 8, 2023, 6:43am UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/6 "2023-03-08T06:43:12Z")

</div>

Could be cool to integrate the rules editing with yunohost ui.

---

<div class="post-metadata">

### Author: ![p4p4j0hn](https://forum.yunohost.org/user_avatar/forum.yunohost.org/p4p4j0hn/32/10955_2.png) [@p4p4j0hn](https://forum.yunohost.org/u/p4p4j0hn)
#### Post date: [March 8, 2023, 3:20pm UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/7 "2023-03-08T15:20:03Z")

</div>

@HoldMyGin @ghose It all depends on the configuration. If it contains a route to 0.0.0.0 or firewall rules are added, it could definitely affect your services.

---

<div class="post-metadata">

### Author: ![Nico1](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@Nico1](https://forum.yunohost.org/u/Nico1)
#### Post date: [March 11, 2023, 7:20pm UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/8 "2023-03-11T19:20:26Z")

</div>

Bon et bien j’ai pu mix les deux sans trop de problème.  
Sauf que le répertoire n’est plus le même.

J’avais juste deux services qui tournait en même temps, j’ai disable un service en laissé celui créé par l’app ynh.

Tout fonctionne.

---

<div class="post-metadata">

### Author: ![Daz](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@Daz](https://forum.yunohost.org/u/Daz)
#### Post date: [July 1, 2023, 4:15pm UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/9 "2023-07-01T16:15:26Z")

</div>

Hi, I don’t really understand if this app also install wireguard, or if I need to install wireguard on my server along with this app ?  
I try to connect a home server through a VPN to bypass my ISP limitations, but i’m struggling with the configuration…

---

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [July 1, 2023, 10:18pm UTC](https://forum.yunohost.org/t/wireguard-client-connect-your-server-to-vpns/23921/10 "2023-07-01T22:18:19Z")

</div>

> [@Daz](#):
>
> I don’t really understand if this app also install wireguard, or if I need to install wireguard on my server along with this app ?

The app installs the `wireguard ` dependency : [https://github.com/YunoHost-Apps/wireguard\_client\_ynh/blob/64e803b646f3eed2541cdfd592fdf1795925e00a/manifest.toml#L39](https://github.com/YunoHost-Apps/wireguard_client_ynh/blob/64e803b646f3eed2541cdfd592fdf1795925e00a/manifest.toml#L39)

If you need help, you are welcome to open a dedicated thread. 🙂
