Trouble Accessing TrueNAS Over NetBird – Possible Misconfig in Resources Tab

Hey everyone, I’ve got NetBird up and running, and what I’m trying to do is fairly simple, but I’m hitting a wall. On my local network, I have: A MacBook, A TrueNAS server (running NetBird inside an Ubuntu VM), Both devices are on the same LAN and can ping each other without any issues. However, when I try to access my TrueNAS server from my MacBook while it's connected to a different network (e.g., via mobile hotspot), it doesn’t work. I suspect the issue might be in how I’ve configured the Resources tab in NetBird, but I’m not entirely clear on how that feature is supposed to work. Has anyone run into a similar issue or can help me troubleshoot the right way to expose local resources across networks with NetBird?
8 Replies
jeevis
jeevis2w ago
When you say Netbird inside a ubuntu VM, is the VM running Netbird Client? Or the Server
AYEEDITYA
AYEEDITYA2w ago
If NB is running inside the VM, then only the VM is accessible (over NetBird IP) unless you have a network setup routing the subnet to your NB network. I have a similar setup working but in a proxmox VM. But the idea is the same. You could also first try the deprecated network routes option, I found those easier to setup. You could also run the NetBird client as a docker container directly on truenas without needing to add the complexity of a VM, but I haven’t done this yet so not sure how well it works
Hamboosh
HambooshOP2w ago
I'll be honest i have no idea. I downloaded netbird on my mac, and then I set up NB on my ubuntu VM, now when I go to the dashboard on my broswer they both show up there. So this is the goal that I had. I tried to setup routing the subnet to my NB network but I'm not actually sure if I am doing it properly and this is sort of what I was wondering if people on the discord could help me with . I'm not exactly sure how to configure it so that it works. And apparently if I use the netbird client in a docker container, there is some issue with publishing the IP that it uses. I followed some instructional videos by ServersAtHome and he specifically mentioned that he does it via a VM (or the case of Fangtooth, an "instance"). Works well for him but for some reason it isn't for me so I think it's something with configuration of my subnet
AYEEDITYA
AYEEDITYA2w ago
Okay so from what I can recall and looking over my setup, Create a policy, all <-> all should be fine. But my network is a lot more restricted Create a network add your resources to network - LAN subnet and the group of devices that will publish this subnet (your VM in this case) Add your routing peers, again, add the VM server and any other on your LAN I think this should be all
Hamboosh
HambooshOP2w ago
Ok I’ll try this when I am back at my pc. I did all of this stuff but I’m pretty sure I did it incorrectly
AYEEDITYA
AYEEDITYA2w ago
It might ask you to create a dedicated policy, but any policy that can satisfy the network will be automatically picked up by the resource Sounds good. Let me know if you need more help
Hamboosh
HambooshOP2w ago
@AYEEDITYA Ok so on my netbird dashboard i have one network called "Home", and I have one resource (called media_subnet) on that network which I set to be the IP of my truenas server (the one that is running the VM that has netbird on it) As for the routing peers, I am using the TrueNAS device to be the only routing peer since it is always on, and if I hope to access the network from any point, intuitively I think that it makes sense to route the traffic through the one thing that is always on and i created a policy that allows all other devices to access the TrueNAS server, but not each other, since the whole point of this is for the other devices to access the media that is available on the server for streaming It seems to me that I have done exactly as you said, i'm not sure where this is going wrong My main concern is that I put in the wrong IP for the resource that is on my server Like is it a problem that I set the address of the resource as the same IP as one of the peers in the network? Like does my network need to have a designated resource? Does it need to have a routing peer? I'm a total beginner so I don't even know if these things are essential lol
AYEEDITYA
AYEEDITYA2w ago
Can you post some screenshots

Did you find this page helpful?