-
Notifications
You must be signed in to change notification settings - Fork 156
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
Default router override a.k.a full tunnel #26
Comments
|
I'm sorry! It was a typo. I know that it uses the namespace of the host computer, but it just doesn't work at all for me, that's strange I know, but it seems I can't fix it. |
I'm not that familiar with Linux network stack, maybe need some testing of this. |
And also I still don't know the situation you would like to use on, please give me more details if possible. Thanks. |
Sure! In ZeroTier there is the option to route all traffic to all clients of the certain network through one of the connected clients. i.e. like VPN. For example through the controller, there ZeroTier docker with ztcui is hosted. So all traffic with the option The problem is, that it doesn't work inside the docker container with published only port So I wonder if is there a way to get a working full tunnel inside a container just with some published ports. |
Let me know if I should provide more information about anything :) |
Sorry for the late response, recently, I'm really busy with my work and have no time to try to find the root cause, I suggest you search for something like:
On my personal point of view, docker use iptables to map port to outside. The underlying virtual network interface is a tun. So you might need to find a way like this:
please leave this issue open, I will help you solve as best as I can when I'm spare. Thanks for your question. |
In the docker run, there are several published ports including 9993/udp
The network works, but full tunnel a.k.a default router override doesn't.
How to make this work inside the container?
When I run docker with `--net=host1, it doesn't work at all, even though the network doesn't connect.
The text was updated successfully, but these errors were encountered: