From: Ian Kelling Date: Thu, 19 Jan 2017 10:34:45 +0000 (-0800) Subject: even more better docs X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=49df8bd697275ea5d331efc114440a0fde964935;p=newns even more better docs --- diff --git a/newns b/newns index d6a1b08..6da7727 100755 --- a/newns +++ b/newns @@ -43,9 +43,12 @@ Setup new or systemd created network namespace with nat and mount namespace -c, --create Create network namespace. For running outside systemd private net. -h, --help Show this help and exit. -From within systemd network namespace, nat it to the outside. If given --c, or if in the default network namespace, create a named network -namepace natted to the current netns. +From within a systemd network namespace, nat it to the outside. This +would be called from ExecStartPre, and or subsequent units called with +JoinsNamespaceOf= and PrivateNetwork=true. + +If given -c, or if in the default network namespace, create a named +network namepace natted to the current netns. Uses /24 network, finding the first locally unused one starting at 10.173.0.