ZeroTierOne/RUNNING.txt

53 lines
1.5 KiB
Plaintext
Raw Normal View History

Running ZeroTier One from a source build:
-- MacOS
By convention, ZeroTier One will keep its state here on mac:
/Library/Application Support/ZeroTier/One
ZeroTier ships with a kernel extension for its own tap device, which it
stores in the above directory. To install this from source, type:
sudo make -f Makefile.mac install-mac-tap
This will create the ZeroTier One home above if it does not exist and install
the kext there. Note that the kext must be owned by root:wheel. The make
rule for install-mac-tap takes care of that.
Next, simply run the binary. It must be run as root to open the tap device.
2013-08-30 19:30:53 +00:00
If run with no options, it will use the default home directory above.
2013-08-30 19:30:53 +00:00
sudo ./zerotier-one &
Type "ifconfig" and look for the new interface, which should be called
"zt0." The strange IPv4 address it has is your "zero4" address. Visit
http://zerotier.net/ to check your connection.
Kill it with something like:
sudo killall zerotier-one
-- Linux
On Linux, the default ZeroTier home is:
/var/lib/zerotier-one
We use the Linux native tap driver, so no special drivers are needed. Just
type:
sudo mkdir /var/lib/zerotier-one
2013-08-30 19:30:53 +00:00
sudo ./zerotier-one &
When run with no options, ZT1 uses its default home path on the current
platform.
Type ifconfig and you should see an interface like "zt0." Then try
http://zerotier.net or ping zerotier.net to check your connection.
-- Windows
2013-08-30 19:30:53 +00:00
To run for manual testing, build the ZeroTierOne VS2012 project and run it
in an administrator-privileged command prompt window.