mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-03 15:27:45 +02:00
vpn: wireguard linux client usage guide
This commit is contained in:
parent
5c56fde084
commit
e0c81e302a
19
wiki/vpn.md
19
wiki/vpn.md
@ -59,3 +59,22 @@ WireGuard clients can be found for many devices.
|
||||
For Android for example there is
|
||||
[Wireguard for Android in the F-Droid store](https://f-droid.org/de/packages/com.wireguard.android/).
|
||||
For most linux distributions there is a package called `wireguard`.
|
||||
|
||||
### Usage (WG)
|
||||
|
||||
Wireguard clients connect to servers by using a `.conf` file.
|
||||
For mobile devices often times a QR-code can also be used.
|
||||
|
||||
In Linux based operating systems the `.conf` can be placed at
|
||||
the path `/etc/wireguard/wg0.conf`.
|
||||
Afterwards wireguard can be started and stopped by running the following
|
||||
commands.
|
||||
|
||||
```
|
||||
wg-quick up wg0
|
||||
wg-quick down wg0
|
||||
```
|
||||
|
||||
When using multiple `.conf` files the number behind `wg` can be incremented.
|
||||
When starting and stopping wireguard with `wg-quick` the corresponding number
|
||||
should be used.
|
||||
|
Loading…
x
Reference in New Issue
Block a user