M
M
Michael2021-10-17 13:55:14
VPN
Michael, 2021-10-17 13:55:14

Why doesn't zerotier-one bring up a network interface in an LXC container?

In ordinary virtual machines, zerotier raises a virtual network interface (network card) with an assigned IP without talking, but on my main virtual machines that work in LXC containers on Proxmoxe, they do not rise.
The necessary permissions have been issued to containers - there is no result, where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2021-10-17
@happy-cat

Solution found.
Anyone who wants to create a null interface in an unprivileged lxc container can simply update the lxc container as follows
Open the container config. It's usually in /etc/pve/lxc
sudo nano /etc/pve/lxc/XXX.conf
and add the line
lxc.mount.entry: /dev/net/tun dev /net/tun none bind, create=file
Reload the container

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question