Skip to content

jim3692/shell-in-netns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell in network namespace

Usage: "bash create-ns.sh [-andc] [command [command parameters]]"

  • -a|--any: Use any existing NS without creating a new one (Interactive selection if omitted)
  • -n|--new: Create a new NS, even if others exist
  • -d|--detach: Detach instead of entering namespace
  • -c|--config-file: Use a config file for Uplink/IP/Gateway (Interactive entry if omitted)

Config file structure:

uplink="eno1"
ip="192.168.1.10/24"
gateway="192.168.1.1"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors