freebsd-ports/net/zerotier/pkg-message
Dave Cottlehuber 7b73228cde net/zerotier: wait for ONLINE status before booting
- add new flag to wnable waiting for zt interface to become available
- handle newer name for tap(4) in CURRENT

Approved by:	jrm (mentor)
Differential Revision:	https://reviews.freebsd.org/D18533
2019-05-22 20:51:41 +00:00

30 lines
1.1 KiB
Text

#################################
First start the zerotier service:
service zerotier start
To connect to a zerotier network:
zerotier-cli join <network>
If you are running other daemons or require firewall rules to depend on
zerotier interfaces being available at startup, you may need to enable
the following sysctl in /etc/sysctl.conf:
net.link.tap.up_on_open=1
This avoids a race condition where zerotier interfaces are created, but
not up, prior to firewalls and services trying to use them.
You can place optional configuration in /var/db/zerotier-one/local.conf
as required, see documentation at https://www.zerotier.com/manual.shtml
If your system boots from DHCP (such as a laptop), there is a new rc.conf
flag that will require that system startup will wait until the zerotier
network is established before proceeding. Note that this flag *does not*
work for systems confgured with statically assigned IP addresses, and
these will hang indefinitely due to an irreducible loop in rc(8) startup
files. This flag is disabled by default.
#################################