Browse Source

aout du link add

master
Benoît S. 2 years ago
parent
commit
471269988d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      HowtoWireGuard.md

+ 2
- 1
HowtoWireGuard.md View File

@@ -1,10 +1,10 @@

Sur le serveur :

~~~
# cd /root/wg
# umask 077
# wg genkey > private
# ip link add wg0 type wireguard
# ip address add dev wg0 10.10.10.1/24
# wg set wg0 private-key ./private
# ip link set wg0 up
@@ -18,6 +18,7 @@ Sur le client :
# cd /root/wg
# umask 077
# wg genkey > private
# ip link add wg0 type wireguard
# ip address add dev wg0 10.10.10.2/24
# wg set wg0 private-key ./private
# ip link set wg0 up


Loading…
Cancel
Save