2021-06-03 22:02:40 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2020-10-11 14:45:13 +02:00
# WireGuard for YunoHost
[![Integration level ](https://dash.yunohost.org/integration/wireguard.svg )](https://dash.yunohost.org/appci/app/wireguard) ![](https://ci-apps.yunohost.org/ci/badges/wireguard.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/wireguard.maintain.svg)
2020-12-27 12:02:17 +01:00
[![Install WireGuard with YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=wireguard)
2020-10-11 14:45:13 +02:00
*[Lire ce readme en français.](./README_fr.md)*
2021-06-03 22:02:40 +02:00
> *This package allows you to install WireGuard quickly and simply on a YunoHost server.
2020-10-11 14:45:13 +02:00
If you don't have YunoHost, please consult [the guide ](https://yunohost.org/#/install ) to learn how to install it.*
## Overview
2021-12-09 12:31:08 +01:00
WireGuard® is fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN.
2021-06-03 22:02:40 +02:00
2021-09-09 21:15:16 +02:00
**Shipped version:** 0.3.2~ynh1
2021-06-03 22:02:40 +02:00
2020-10-11 14:45:13 +02:00
## Screenshots
2021-06-03 22:02:40 +02:00
![](./doc/screenshots/screenshot.png)
![](./doc/screenshots/screenshot.png:Zone.Identifier)
2020-10-11 14:45:13 +02:00
2021-06-03 22:02:40 +02:00
## Disclaimers / important information
2020-10-11 14:45:13 +02:00
2021-06-03 22:02:40 +02:00
* WireGuard for YunoHost will add a DMKS module to your Linux kernel.
* You may need to reboot your server for WireGuard to be able to start.
* The package includes WireGuard and non-official web UI to configure it.
* Avoid altering the configuration files via the command line interface, though.
* Use YunoHost permissions panel to allow users to access the web UI.
* Only one network interface, *wg0* , can be managed with this app at the moment.
2020-10-11 14:45:13 +02:00
2021-12-26 12:17:30 +01:00
After installation, you need to `Apply Config` once in the UI before the VPN service can be started.
2021-03-02 19:00:05 +01:00
### Make your server share its Internet connection
#### Enable port forwarding
```bash
sudo nano /etc/sysctl.conf
2021-03-23 17:08:43 +01:00
# Uncomment the following lines:
2021-03-02 19:00:05 +01:00
net.ipv4.ip_forward = 1
2021-03-23 17:08:43 +01:00
net.ipv6.conf.all.forwarding = 1
2021-03-02 19:00:05 +01:00
# Save and quit (CTRL+O, CTRL+X)
sudo sysctl -p
```
2020-10-11 14:45:13 +02:00
2021-06-03 22:02:40 +02:00
## Documentation and resources
2020-10-11 14:45:13 +02:00
2021-06-03 22:02:40 +02:00
* Official app website: https://www.wireguard.com/
* Upstream app code repository: https://github.com/ngoduykhanh/wireguard-ui
* YunoHost documentation for this app: https://yunohost.org/app_wireguard
* Report a bug: https://github.com/YunoHost-Apps/wireguard_ynh/issues
2020-10-11 14:45:13 +02:00
2021-06-03 22:02:40 +02:00
## Developer info
2020-10-11 14:45:13 +02:00
Please send your pull request to the [testing branch ](https://github.com/YunoHost-Apps/wireguard_ynh/tree/testing ).
To try the testing branch, please proceed like that.
```
sudo yunohost app install https://github.com/YunoHost-Apps/wireguard_ynh/tree/testing --debug
or
sudo yunohost app upgrade wireguard -u https://github.com/YunoHost-Apps/wireguard_ynh/tree/testing --debug
```
2021-06-03 22:02:40 +02:00
**More info regarding app packaging:** https://yunohost.org/packaging_apps