Skip to content

Add support for multiple ports #16

Open
@JonathanCasey

Description

The method in #11 only supports a single port. If multiple ports are needed, some adjustment is needed.

If possible, a comma-separated list of ports could be specified, which would be split (and could re-use the posix array trick and re-use the input arg array after the netns is done with it). Will not accept a range since that wouldn't be compatible with socat approach -- would need a separate issue opened for different solution.

Ideally, could just still run with the same single daemon and use something like && to run together in a single line. If that won't work, however, will need a daemon for each and append the port num to the daemon name (but how to stop that later without having to specify the port again on del?). Could also look into making a service from scratch, but prefer not to.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions