-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question/Request] Use an active Network Namespace #169
Comments
Thanks for the feedback, it's always nice to hear that somebody finds this tool useful.
It's taken so long to reply because I've been pondering the bigger picture:
I think I should implement (1) regardless because it's straightforward; and (2)/(3) could be improvmenets added later (no promises that I ever get around to it). |
Ahh! One thing I missed is that ego currently uses |
After a while, this feature request became less important to me because I was able to manually configure the XDG_RUNTIME_DIR and Wayland socket directories, plus X11 by simply using the So I'm probably ok with the fact that this netns implementation for The created Network Namespace is an isolated network stack from the root Namespace (the current Linux network). And it can be created many times by placing interfaces created by tun with their own addresses and routes (for example, netns1 in Germany, netns2 in Russia, netns3 in the Netherlands) And so here is my use case for Network Namespace: I am running a sing-box (it can also be OpenVPN, Wireguard, ShadowSocks) on my system which runs the If you want to learn more about Network Namespace, please refer to this repository. Very good reading Therefore, for me, the request for the netns function is now not as important as your efforts to investigate the work of the portal inside the second user |
Hello, I really like your program. It works very well on Plasma 6 Wayland, but I'm interested in using it in conjunction with my active Network Namespace (netns). Is it possible? I understand that
ego
under the hood calls themachinectl
command which calls other commands. It seems like systemd-nspawn is responsible for all this, and judging by the documentation, it supports a parameter such as--network-namespace-path
, which is equivalent to theNetworkNamespacePath
parameter. I used therun0
(sudo alternative from systemd) command for native packages along withNetworkNamespacePath
andBindReadOnlyPaths
inside the--property
parameter, which allowed me to use netns very comfortably.Is the above-mentioned feasible in
ego
? Does such functionality make sense in your program?The text was updated successfully, but these errors were encountered: