mirror of
https://codeberg.org/icewind/netnsd.git
synced 2026-06-03 17:14:06 +02:00
more readme
This commit is contained in:
parent
a885a5aabd
commit
ca5b60a9b9
1 changed files with 32 additions and 0 deletions
32
README.md
32
README.md
|
|
@ -7,3 +7,35 @@ A declarative manager for Linux network namespaces.
|
||||||
- Fully declarative configuration
|
- Fully declarative configuration
|
||||||
- Hot reloading of configuration
|
- Hot reloading of configuration
|
||||||
- Port forwarding into the namespace
|
- Port forwarding into the namespace
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Daemon
|
||||||
|
|
||||||
|
```shell
|
||||||
|
netnsd daemon [--config <config.toml>]
|
||||||
|
```
|
||||||
|
|
||||||
|
Start the netnsd daemon, applying the configured namespace configuration and
|
||||||
|
running any proxies.
|
||||||
|
|
||||||
|
You can tell the daemon to reload the configuration with `pkill -sighup netnsd`.
|
||||||
|
|
||||||
|
Note that, to minimize interruption of anything using the namespaces, stopping
|
||||||
|
the daemon will not remove the created namespaces.
|
||||||
|
|
||||||
|
### Up
|
||||||
|
|
||||||
|
```shell
|
||||||
|
netnsd up [--config <config.toml>]
|
||||||
|
```
|
||||||
|
|
||||||
|
Applying the configured namespace and exit.
|
||||||
|
|
||||||
|
### Down
|
||||||
|
|
||||||
|
```shell
|
||||||
|
netnsd down
|
||||||
|
```
|
||||||
|
|
||||||
|
Remove all namespaces created by netnsd and exit.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue