1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

Merge pull request #29 from YunoHost-Apps/testing

Sudo for restarting interface, improve DISCLAIMERs
This commit is contained in:
tituspijean 2021-07-05 12:32:37 +02:00 committed by GitHub
commit fb4d8c6420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Virtual Private Networks (VPN) via WireGuard, with a web UI to ease configuration Virtual Private Networks (VPN) via WireGuard, with a web UI to ease configuration
**Shipped version:** 0.2.7~ynh7 **Shipped version:** 0.2.7~ynh8
@ -48,7 +48,7 @@ net.ipv6.conf.all.forwarding = 1
sudo sysctl -p sudo sysctl -p
``` ```
Add the following commands in `WireGuard Server` menu. Replace `eth0` with the interface connected to the Internet: Add the following commands in `WireGuard Server` menu, like in [this picture](https://user-images.githubusercontent.com/8769166/124400150-cf354980-dd20-11eb-87c6-9478938d9c82.png). Replace `eth0` with the interface connected to the Internet:
#### Post Up Script #### Post Up Script
``` ```

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Réseaux Privés Virtuels (VPN) via WireGuard, avec une web UI pour faciliter sa configuration Réseaux Privés Virtuels (VPN) via WireGuard, avec une web UI pour faciliter sa configuration
**Version incluse :** 0.2.7~ynh7 **Version incluse :** 0.2.7~ynh8
@ -44,7 +44,7 @@ net.ipv6.conf.all.forwarding = 1
sudo sysctl -p sudo sysctl -p
``` ```
Ajoutez les commandes suivantes dans le menu `WireGuard Server`. Remplacez `eth0` avec l'interface connectée à Internet : Ajoutez les commandes suivantes dans le menu `WireGuard Server`, tel que dans [cette image](https://user-images.githubusercontent.com/8769166/124400150-cf354980-dd20-11eb-87c6-9478938d9c82.png). Remplacez `eth0` avec l'interface connectée à Internet :
#### Post Up Script #### Post Up Script
``` ```

View file

@ -6,4 +6,4 @@ After=network.target
Type=oneshot Type=oneshot
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
ExecStart=/usr/bin/systemctl restart wg-quick@wg0.service ExecStart=sudo /usr/bin/systemctl restart wg-quick@wg0.service

View file

@ -18,7 +18,7 @@ net.ipv6.conf.all.forwarding = 1
sudo sysctl -p sudo sysctl -p
``` ```
Add the following commands in `WireGuard Server` menu. Replace `eth0` with the interface connected to the Internet: Add the following commands in `WireGuard Server` menu, like in [this picture](https://user-images.githubusercontent.com/8769166/124400150-cf354980-dd20-11eb-87c6-9478938d9c82.png). Replace `eth0` with the interface connected to the Internet:
#### Post Up Script #### Post Up Script
``` ```

View file

@ -18,7 +18,7 @@ net.ipv6.conf.all.forwarding = 1
sudo sysctl -p sudo sysctl -p
``` ```
Ajoutez les commandes suivantes dans le menu `WireGuard Server`. Remplacez `eth0` avec l'interface connectée à Internet : Ajoutez les commandes suivantes dans le menu `WireGuard Server`, tel que dans [cette image](https://user-images.githubusercontent.com/8769166/124400150-cf354980-dd20-11eb-87c6-9478938d9c82.png). Remplacez `eth0` avec l'interface connectée à Internet :
#### Post Up Script #### Post Up Script
``` ```

View file

@ -6,7 +6,7 @@
"en": "Virtual Private Networks (VPN) via WireGuard, with a web UI to ease configuration", "en": "Virtual Private Networks (VPN) via WireGuard, with a web UI to ease configuration",
"fr": "Réseaux Privés Virtuels (VPN) via WireGuard, avec une web UI pour faciliter sa configuration" "fr": "Réseaux Privés Virtuels (VPN) via WireGuard, avec une web UI pour faciliter sa configuration"
}, },
"version": "0.2.7~ynh7", "version": "0.2.7~ynh8",
"url": "https://github.com/ngoduykhanh/wireguard-ui", "url": "https://github.com/ngoduykhanh/wireguard-ui",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",