aboutsummaryrefslogtreecommitdiffstats
path: root/README.poc0.md
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2019-04-05 10:46:25 +0200
committerLinus Nordberg <linus@nordberg.se>2019-04-05 10:46:25 +0200
commite34cc60fee7e83fb6b81a6c483840a4294214d90 (patch)
tree0b4050dcee2e07626663c7662d2f4cf3a0beedad /README.poc0.md
parentadd README (diff)
downloadwg-dynamic-ln/poc0.tar.xz
wg-dynamic-ln/poc0.zip
add instructions for intalling dependenciesln/poc0
Also, be clear with what requires running as root.
Diffstat (limited to 'README.poc0.md')
-rw-r--r--README.poc0.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.poc0.md b/README.poc0.md
index a78753a..e230f3f 100644
--- a/README.poc0.md
+++ b/README.poc0.md
@@ -10,6 +10,7 @@ and all of the interfaces for interacting with wg-dynamic may change.
Download and build
+ sudo apt install libmnl0 libmnl-dev
git clone -b ln/poc0 https://git.zx2c4.com/wg-dynamic
cd wg-dynamic
make
@@ -18,11 +19,11 @@ Download and build
Configure server side wg0 to have fe80::/64:
- ip addr add fe80::/64 dev wg0
+ sudo ip addr add fe80::/64 dev wg0
Start wg-dynamic-server:
- ./wg-dynamic-server wg0
+ sudo ./wg-dynamic-server wg0
# Running a client on wg0
@@ -32,12 +33,12 @@ IP-NETNS(8) and tests/netsh.sh.
Configure client side wg0 to have an address with prefix length 128 in
fe80::/64 and make sure that the server can be reached. Example:
- ip addr add fe80::badc:ffe:e0dd:f00d/128 dev wg0
- ip route add fe80::/128 dev wg0
+ sudo ip addr add fe80::badc:ffe:e0dd:f00d/128 dev wg0
+ sudo ip route add fe80::/128 dev wg0
Start wg-dynamic-client:
- ./wg-dynamic-client wg0
+ sudo ./wg-dynamic-client wg0
# Known limitations