From 048fdad056f26ae8f100b4aafc30c53352e18ea9 Mon Sep 17 00:00:00 2001 From: Sean Date: Thu, 29 Jul 2021 15:51:19 +1000 Subject: [PATCH] Update readme.md --- readme.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 69ddd90c4..b0b08e446 100644 --- a/readme.md +++ b/readme.md @@ -153,12 +153,17 @@ to configure as relay: ## Running on Linux -**DO NOT RUN AS ROOT**, run as normal user. This requires the binary to have the proper setcaps set by `make install` on the binary. +**DO NOT RUN AS ROOT**, run as normal user. to run, after you create default config: $ lokinet +This requires the binary to have the proper capabilities which is usually set by `make install` on the binary. If you have errors regarding permissions to open a new interface this can be resolved using: + + $ sudo setcap cap_net_admin,cap_net_bind_service=+eip /usr/local/bin/lokinet + + ## Running on macOS/UNIX/BSD **YOU HAVE TO RUN AS ROOT**, run using sudo. Elevated privileges are needed to create the virtual tunnel interface.