Replies: 1 comment 2 replies
-
|
Question: why does Nebula reject all incoming traffic minus ICMP when tun is disabled? I run a different Nebula host in a cloud container and don't have permission to create a tun device there and it would be really convenient to have bidirectional communication with it rather than the one-way that unsafe_routes provices. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I had some trouble getting Nebula to run on a LXC container. Initially, I set
tun.disabled = truesince the container didn't have permission to create a tun device. But I discovered that Nebula rejects all incoming traffic except for ICMP when tun is disabled.This isn't a tutorial, just a simple post to save someone an hour of fiddling around.
The container doesn't need to be privileged.
/etc/pve/lxc/[VM ID number].conf, add these lines to the bottom:It used to be
lxc.cgroup.devices.allow, now it'slxc.cgroup2.devices.allow.Some people said to add the line:
but this appears to require a privileged container. Also saw people were adding this too:
Beta Was this translation helpful? Give feedback.
All reactions