mirror of
https://codeberg.org/icewind/netnsd.git
synced 2026-06-03 09:04:07 +02:00
add support for setting up routing inside the netns
This commit is contained in:
parent
35c8f5cc6c
commit
7588b5db00
18 changed files with 272 additions and 53 deletions
|
|
@ -5,6 +5,11 @@ name = "test"
|
|||
# move existing devices into the namespace
|
||||
devices = ["somelink"]
|
||||
|
||||
# create a route inside the namespace
|
||||
[[namespace.route]]
|
||||
destination = "default" # either "default" or an ip range in CIDR notation
|
||||
device = "somelink"
|
||||
|
||||
# You can define any number of port forwards to setup into the namespace
|
||||
[[namespace.forward]]
|
||||
# port, address or socket outside the namespace to listen on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue