Page MenuHomeVyOS Platform

ZeroTier integration
Closed, WontfixPublicFEATURE REQUEST

Assigned To
Authored By
Nov 17 2017, 8:21 AM
Referenced Files
"Love" token, awarded by Michael."Like" token, awarded by jdrews."Love" token, awarded by danhusan."Like" token, awarded by Lillecarl.


This FR is meant to keep track of whatever comes out of the short conversation I started on Twitter. I was basically asking for ZeroTier integration in VyOS.

I'd really love to see this implemented! Let's see what happens next.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Wishlist priority.Nov 26 2017, 6:21 PM
syncer claimed this task.
syncer added a subscriber: syncer.

We got 0 replies from zerotier folks so it looks like they not really interesting in collaboration
therefore we will not be adding support for zerotier into VyOS

I posted a comment asking Adam over at ZeroTier to see if he could help with this task.

Hmm no movement...

ZeroTier supports Debian. And VyOS is based on Debian.

So I dropped to a shell in VyOS via sudo su and installed ZeroTier on VyOS 999.201706282137. Now it shows an IP addressed ZeroTier interface in iproute2's ip address but if you jump back into the VyOS console show interfaces does not list the new interface. Interesting...

Upon reboot the zt interface is still shown in iproute2 but not in vyos shell. My first thought is it's failing somewhere in here:

root@vyos-beta:/home/vyos# ip address | grep zt
4: ztREDACTED: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2800 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    inet brd scope global ztREDACTED
root@vyos-beta:/home/vyos# exit
vyos@vyos-beta:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0                       u/u
lo                             u/u
vtun0                      u/u

Going a bit farther, Quagga is picking up the ZeroTier interface. Confirmed via vtysh

vyos-beta# show interface ztREDACTED
Interface ztREDACTED is up, line protocol detection is disabled
  index 3 metric 1 mtu 2800
  HWaddr: da:14:c0:2b:3b:75
  inet broadcast
  inet6 fe80::d814:c0ff:fe2b:3b75/64

For reference here's all I did to get ZeroTier onto a VyOS box:

  1. curl | bash to install ZeroTier
  2. zerotier-cli join YOURNETWORKID to join ZeroTier Network
  3. Authenticate the node on your ZT controller or ZeroTier Central
  4. zerotier-cli listnetworks to check status.

ZeroTier was added to the Ubiquiti EdgeRouter (which runs a vyatta fork) as a demo. Relevant to this thread:

sorry, but their licensing model incompatible with what we do.

Any movement on this? ZeroTier integration would be fantastic.