What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Netbird on Asus Merlin?

OsiMood

New Around Here
Hi everyone,
I am a big fan on tailscale but, the server itself is not opensource and it can not be self hosted
Any chance to see Netbird making it to our routers?
Thank you
O
 
Last edited:
I don't know anything about Netbird, but there's already a package available for it in Entware.

Code:
# opkg info netbird
Package: netbird
Version: 0.35.2-1
Depends: libc, libssp, librt, libpthread
Status: unknown ok not-installed
Section: net
Architecture: aarch64-3.10
Size: 9975413
Filename: netbird_0.35.2-1_aarch64-3.10.ipk
Description: Connect your devices into a single secure private WireGuard®-based
 mesh network with SSO/MFA and simple access controls.
 
So trying to set it up
I got this message:
Code:
Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start
and trying to run "netbird service install"
Code:
open /etc/init.d/netbird: read-only file system
Error: open /etc/init.d/netbird: read-only file system

Any advise ?
 
So trying to set it up
I got this message:
Code:
Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start
What are you doing that generates that message?

Again, I don't know anything about Netbird but it appears to install and startup for me.
Code:
# opkg install netbird
Installing netbird (0.35.2-1) to root...
Downloading https://bin.entware.net/aarch64-k3.10/netbird_0.35.2-1_aarch64-3.10.ipk
Configuring netbird.

# opkg files netbird
Package netbird (0.35.2-1) is installed on root and has the following files:
/opt/etc/init.d/S99netbird
/opt/etc/netbird/env
/opt/sbin/netbird
/opt/lib/upgrade/keep.d/netbird

# /opt/etc/init.d/S99netbird start
 Starting Netbird Client...              done.

# ps | grep [n]etbird
 9868 admin    1236m S    netbird service run

# netbird status
Daemon status: NeedsLogin

Run UP command to log in with SSO (interactive login):

 netbird up

If you are running a self-hosted version and no SSO provider has been configured in your Management Server,
you can use a setup-key:

 netbird up --management-url <YOUR_MANAGEMENT_URL> --setup-key <YOUR_SETUP_KEY>

More info: https://docs.netbird.io/how-to/register-machines-using-setup-keys

# netbird up
Please do the SSO login in your browser.
If your browser didn't open automatically, use this URL to log in:

https://login.netbird.io/activate?user_code=RMNG-KMFR


Alternatively, you may want to use a setup key, see:

https://docs.netbird.io/how-to/register-machines-using-setup-keys
Connected

# netbird status
OS: linux/arm64
Daemon version: 0.35.2
CLI version: 0.35.2
Management: Connected
Signal: Connected
Relays: 3/3 Available
Nameservers: 0/0 Available
FQDN: rt-ax86u.netbird.cloud
NetBird IP: 100.107.48.30/16
Interface type: Kernel
Quantum resistance: false
Routes: -
Networks: -
Peers count: 0/0 Connected

# ifconfig wt0
wt0       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:100.107.48.30  P-t-P:100.107.48.30  Mask:255.255.0.0
          UP POINTOPOINT RUNNING NOARP  MTU:1280  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# iptables-save | grep wt
-A NETBIRD-RT-NAT -o wt0 -m mark --mark 0x1bd12 -j MASQUERADE
-A PREROUTING -i wt0 -m addrtype --dst-type LOCAL -j MARK --set-xmark 0x1bd01/0xffffffff
-A INPUT -i wt0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i wt0 -j NETBIRD-ACL-INPUT
-A INPUT -i wt0 -j DROP
-A FORWARD -o wt0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i wt0 -j NETBIRD-RT-FWD
-A FORWARD -i wt0 -j DROP
So this installation, setup and operation process seems almost identical to that of tailscale. Even the netbird web management portal looks identical to tailscale's. I wonder who's copying who. 🤔
 
Last edited:
Wow ! @ColinTaylor thank you!!
I was missing
Code:
/opt/etc/init.d/S99netbird start
Not sure who is copying who but there are many such project, this one is fully open source and can be self hosted hence my "attraction" to it

Again, thank you, it really helps.
O
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top