Open tiagobugarin opened 1 month ago
Using network_mode: host
is the only way I've found to allow the container to access information about the host net interfaces. Even mounting /proc
from the host does not work.
I don't use tailscale, so I don't know the best approach to dealing with this, but check out the related discussion here: #99.
Not sure if this helps, but the binary version of the agent does not have this problem, and you can specify a full address in the PORT
env var, i.e. PORT=100.64.0.0:45876
.
I have been experimenting with Beszel this days and managed to get the agent to work on a VPS sending data through a Tailscale tunnel to my local (home) server.
The issue I am having is that to make it work I had set the baszel-agent container
network_mode
to the Tailscale container instead of thehost
.Is there anyway I can make it both work over Tailscale and collect data of network trafic on public interfaces?
Below is the relevant
docker-compose.yml
running on the VPS: