Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Ability to wrap multiple addresses/ports #3

Description

@przemyslaw0

Here I use transparent proxy forwarders, and them use also other ports for DNS, SOCKS5 proxies and HTTP ones.

The scheme could be:

netnswrap --address 127.0.0.1,0.0.0.0,10.0.0.1 --port 1111,1080,3128 --protocol 1111=tcp,1080=tcp,3128=tcp --target-ns /var/run/netns/somenetns -- <command>

Or maybe the options could be reformulates, a better idea:

netnswrap --address 127.0.0.1:1111=tcp,0.0.0.0:1111=tcp,10.0.0.01=tcp --target-ns /var/run/netns/somenetns -- <command>

Thanks, and honestly, this project is the best one in Gitbub so far!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions