mirror of
https://codeberg.org/icewind/netnsd.git
synced 2026-06-03 09:04:07 +02:00
add support for moving devices into the namespace
This commit is contained in:
parent
6ecb4b384d
commit
3fa69dc434
11 changed files with 411 additions and 88 deletions
|
|
@ -6,7 +6,8 @@ A declarative manager for Linux network namespaces.
|
|||
|
||||
- Fully declarative configuration
|
||||
- Hot reloading of configuration
|
||||
- Port forwarding into the namespace
|
||||
- Port forwarding into or out of the namespace
|
||||
- Moving network devices to the namespace
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
@ -53,6 +54,8 @@ You can specify a different configuration path with the `--config` option.
|
|||
[[namespace]]
|
||||
# name of the namespace to create
|
||||
name = "test"
|
||||
# move existing devices into the namespace
|
||||
devices = ["somelink"]
|
||||
|
||||
# You can define any number of port forwards to setup into the namespace
|
||||
[[namespace.forward]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue