mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
Auto-update README
This commit is contained in:
parent
721484eda1
commit
39a0bed1a0
2 changed files with 4 additions and 24 deletions
14
README.md
14
README.md
|
@ -35,6 +35,8 @@ WireGuard® is fast and modern VPN that utilizes state-of-the-art cryptography.
|
||||||
* Use YunoHost permissions panel to allow users to access the web UI.
|
* 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.
|
* Only one network interface, *wg0*, can be managed with this app at the moment.
|
||||||
|
|
||||||
|
After installation, you need to `Apply Config` once in the UI before the VPN service can be started.
|
||||||
|
|
||||||
### Make your server share its Internet connection
|
### Make your server share its Internet connection
|
||||||
|
|
||||||
#### Enable port forwarding
|
#### Enable port forwarding
|
||||||
|
@ -48,18 +50,6 @@ net.ipv6.conf.all.forwarding = 1
|
||||||
sudo sysctl -p
|
sudo sysctl -p
|
||||||
```
|
```
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Post Down Script
|
|
||||||
```
|
|
||||||
iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
|
|
14
README_fr.md
14
README_fr.md
|
@ -31,6 +31,8 @@ WireGuard® is fast and modern VPN that utilizes state-of-the-art cryptography.
|
||||||
* Utiliser le panneau de permissions de YunoHost pour autoriser des utilisateurs à accéder à WireGuard UI.
|
* Utiliser le panneau de permissions de YunoHost pour autoriser des utilisateurs à accéder à WireGuard UI.
|
||||||
* Une seule interface réseau, *wg0*, peut actuellement être gérée par cette app.
|
* Une seule interface réseau, *wg0*, peut actuellement être gérée par cette app.
|
||||||
|
|
||||||
|
Après installation, vous devrez cliquer sur `Apply Config` une fois dans l'UI avant que le service VPN puisse être démarré.
|
||||||
|
|
||||||
### Partagez votre connexion Internet via WireGuard
|
### Partagez votre connexion Internet via WireGuard
|
||||||
|
|
||||||
#### Activez le *port forwarding*
|
#### Activez le *port forwarding*
|
||||||
|
@ -44,18 +46,6 @@ net.ipv6.conf.all.forwarding = 1
|
||||||
sudo sysctl -p
|
sudo sysctl -p
|
||||||
```
|
```
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Post Down Script
|
|
||||||
```
|
|
||||||
iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue