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

Ability to wrap multiple addresses/ports #3

Open
przemyslaw0 opened this issue Oct 17, 2023 · 0 comments
Open

Ability to wrap multiple addresses/ports #3

przemyslaw0 opened this issue Oct 17, 2023 · 0 comments

Comments

@przemyslaw0
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant