Содержание
- Troubleshooting & FAQ
- Ping is not working#
- Windows#
- macOS#
- Linux#
- Router Configuration Tips#
- Recommended Local Network and Internet Gateway Configuration#
- What ports does ZeroTier use?#
- Should I forward any ports in my router?#
- System Firewalls and Security Software#
- High Latency & Relaying#
- NODE ID: Unknown is Back #758
- Comments
- Footer
- Cannot connect to ZeroTier service (VPNs and Hypervisors again) #799
- Comments
- Windows coexistence problems with HyperV and/or OpenVPN #357
- Comments
Troubleshooting & FAQ
Ping is not working#
First, make sure your device is authorized on the network and you’re using the ZeroTier assigned Managed IP address. Aside from that, some OSes block pings in their local firewall by default.
Windows#
Windows does block pings by default. To enable pings on Windows, follow the following steps
- Click the search bar on your taskbar and search for «Windows Firewall» then click it to open
- Click «Advanced Settings» on the left.
- From the left pane of the resulting window, click «Inbound Rules»
- In the right pane, find the rules titled «File and Printer Sharing (Echo Request — ICMPv4-In).
- Right click each rule and choose «Enable Rule»
macOS#
The firewall is not enabled by default on macOS, and thus pings will not be blocked by default. If your firewall is enabled on macOS, go into System Preferences -> Security & Privacy. Under Firewall Options, ensure «Enable stealth mode» is disabled. Stealth mode blocks pings.
Linux#
There are far too many linux distributions out there to list instructions for all of them here. Please refer to your distribution’s documentation for how to unblock ICMP packets.
Router Configuration Tips#
ZeroTier is designed to work in as many environments as possible. We provide multiple layers of fallback so that some level of connectivity can be achieved through even the most restrictive or broken physical networks. But «some level of connectivity» does not mean «optimal connectivity.» This page details the physical network configuration that we recommend for best results.
If your network configuration is hostile to peer to peer network connectivity, most of your ZeroTier traffic will end up being relayed indirectly. This slows things down considerably. Other settings such as «local isolation» can also interfere significantly with performance by forcing local traffic to traverse the Internet.
Recommended Local Network and Internet Gateway Configuration#
- Don’t restrict outbound UDP traffic.
- Supporting either UPnP or NAT-PMP on your network can greatly improve performance by allowing ZeroTier endpoints to map external ports and avoid NAT traversal entirely. IPv6 is recommended and can greatly improve direct connection reliability if supported on both ends of a direct link. If present it should be implemented without NAT (NAT is wholly unnecessary with IPv6 and only adds complexity) and with a stateful firewall that permits bidirectional UDP conversations.
- Don’t use «symmetric» NAT. Use «full cone» or «port restricted cone» NAT. Symmetric NAT is extremely hostile to peer to peer traffic and will degrade VoIP, video chat, games, WebRTC, and many other protocols as well as ZeroTier.
- No more than one layer of NAT should be present between ZeroTier endpoints and the Internet. Multiple layers of NAT introduce connection instability due to chaotic interactions between states and behaviors at different levels. No Double NAT.
- NATs should have a port mapping or connection timeout no shorter than 60 seconds.
- Place no more than about 16,000 devices behind each NAT-managed external IP address to ensure that each device can map a sufficient number of ports.
- Switches and wireless access points should allow direct local traffic between local devices. Turn off any «local isolation» features. Some switches might allow finer grained control, and on these it would be sufficient to allow local UDP traffic to/from 9993 (or in general).
What ports does ZeroTier use?#
It listens on three 3 UDP ports:
- 9993 — The default
- A random, high numbered port derived from your ZeroTier address
- A random, high numbered port for use with UPnP/NAT-PMP mappings
That means your peers could be listening on any port. To talk with them directly, you need to be able send to any port.
Should I forward any ports in my router?#
You shouldn’t need to. Between ZeroTier’s UDP hole punching techniques, UPnP, NAT-PMP, and IPv6, ZeroTier should be able to get through without you manually opening ports.
System Firewalls and Security Software#
If your computer has a local firewall, allow traffic to and from UDP port 9993. In some cases (such as the Windows built-in firewall) ZeroTier does this automatically if installed with one of our installation packages. In other cases such as Linux iptables we leave this to the user since there are too many variations and we do not want to accidentally corrupt user settings by trying to modify them manually.
Some systems may also have security software present that only allows select applications to communicate with the Internet. In that case you may need to locate the ZeroTier service binary and authorize it.
Finally, it’s important to note that ZeroTier One’s virtual network ports appear to your system just like normal LAN or WiFi ports and are subject to local firewall rules. If everything appears okay but you can’t reach a local service like SSH or HTTP, check local firewall rules to ensure that desired traffic over the virtual network itself is allowed.
High Latency & Relaying#
If you’re experiencing high latency (or high ping times), it’s possible the connection between two nodes is being Relayed. The command zerotier-cli peers (available in 1.4.x and above) will give you information on what if any connections are being relayed. The output will look something like this:
Источник
NODE ID: Unknown is Back #758
Just as the title suggests.
As the previous bug, reinstalling fixes it until the next reboot of the system
and it goes back.
Furthermore, this may be the reason, the cli says
» missing authentication token and authtoken.secret not found» even though it exists in the said path.
The text was updated successfully, but these errors were encountered:
Hey, can you check
C:ProgramDataZeroTierOne
and
C:UsersnischkarAppDataLocalZeroTierOne
They should both have authtoken.secret. The UI copies it from ProgramData to the UserAppData when it starts up. It needs admin privileges to do this.
It both exists.
(C:ProgramDataZeroTierOne)
(appdataLocalZeroTierOne)
I also tried to change the file permissions, but it does not fix the problem.
No luck reproducing this one reliably so far. I had it happen to me on my home machine once, but it has since magically resolved itself. It appears ZeroTier was getting into a state where it was no longer listening on the TCP control port that the UI and zerotier-cli talk to, but I couldn’t figure out why before it stopped happening to me.
Experiencing this issue on multiple machines as well.
@ecapuano Can you tell us what you did, maybe the developers can recreate the issue with the steps you will provide.
I’m new to ZeroTier as of today. Installed in on a corporate laptop was able to connect from other machines and it seemed to work fine. After a reboot I see this issue, node id is unknown. If I try to join my network I get the error:
Error Joining Network: Cannnot connect to the ZeroTier Service.
The message led me to check for a ZeroTier service and found that it was set to Automatic but was not running. I started it manually and when I check now, I have a node Id. When I check ZeroTier central, it shows I’m connected. Please advise what to check or report to assist you with debugging this.
Think I found & fixed this issue. 352ec34
Turns out that the #define in WinSock that sets the default maximum number of open sockets is the obscenely low value of 64. I bumped this up a few orders of magnitude to 1024. Fix will be in the next release.
run services.msc
start ZeroTierOneService, if it is stopping.
Looks like this is merged
In my experience, the zerotier-cli error may be due to inadequate permissions accessing authtoken.secret on Windows. Try launching Command Prompt as administrator first. (I was able to get my node ID with zerotier-cli info )
got this exact issue a while back, rebooting my PC resolved it
About the solution of Node ID «Unknown» or Service stops automatically on Windows
In short, uninstall version 1.4.6 and install version 1.2.8.
- Run «ZeroTier One.msi»(version 1.4.6) and select “remove”,uninstall version 1.4.6.
- Enter this page: https://download.zerotier.com/RELEASES/1.2.8/dist/ ,download version 1.2.8, install it.
- The zerotier one service is up and running.
run services.msc
start ZeroTierOneService, if it is stopping.
© 2023 GitHub, Inc.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Источник
Cannot connect to ZeroTier service (VPNs and Hypervisors again) #799
Possibly related to #357 and/or #308
ZeroTier One: 1.2.8
Windows 10: build 1803
VPN service: Viscosity
Hypervisor: VMWare Workstation
It seems like the previous testing and fixing revolved around OpenVPN and Hyper-V. In my particular setup, I’m running Viscosity (which honestly shouldn’t be installed anymore since I’m using ZeroTier One as a replacement now), and VMWare Workstation. I’m getting the dreaded «Cannot connect to ZeroTier service» when trying to add a network. I did this because the network list window showed I wasn’t connected to anything. I then went to my local network connections to discover the ZeroTier connection was already registered, however it is marked as «unplugged.» I tried this with both my wired and wireless NICs in both combinations of connected/disconnected to see if ZeroTier used cable state replication (something VMWare optionally does), but that didn’t change anything.
Rebooting:
no change
Uninstall Viscosity and reboot:
everything is working as expected now.
It appears as though ZeroTier is still conflicting with other VPN providers (possibly mixed with other Hypervisors?)
The text was updated successfully, but these errors were encountered:
Источник
Windows coexistence problems with HyperV and/or OpenVPN #357
Receiving the following message on a Windows 10 client with 1.1.12.
I confirmed the ZeroTier service is running. Is there a log file somewhere for further information?
If I close the client and then open it again I receive the following message after about 2 minutes:
Then stopping the ZeroTier service (via services.msc) results in
The service then says it is stopped. Turning it on again takes a 1-2 seconds, but does not fix above issues.
The text was updated successfully, but these errors were encountered:
What version of Windows is this? 32 or 64 bit?
Further information. I rebooted client host (windows) and it was able to join a zerotier network. Then I joined and left it twice. On the second leave, I experienced this behavior. Unfortunately it looks to be an intermittent issue.
We’ll try repeatedly adding and leaving networks on Windows 10 x64 and see if we can reproduce.
Is this host running other VPN, tunnel, or network virtualization software or VM software like HyperV? We’ve heard intermittent reports of issues when other things like that are installed but so far have not been able to reproduce.
Good call on that. The Windows 10 host did have OpenVPN installed (client was not running, service was running though) and Hyper-V. I’ll look into those when I get some time.
This may be related to or a duplicate of #308
Absolutely no problem on CLEAN Windows 10 after many leave/joins. now installing OpenVPN.
Another question: does your account have administrator rights?
Hmm. just tried creating a normal user. It asks for an administrator user’s password when you launch the app but otherwise it works fine. Left and rejoined network several times with OpenVPN installed and it’s fine. Now trying HyperV.
Added Hyper-V and am still unable to reproduce this problem.
Can you post some information about your Hyper-V settings? Are you running any VMs? Do you have any virtual switches configured?
The account does have administrator rights.
It does have a virtual switch configured on the primary ethernet interface as well as the wireless interface. Pretty standard settings for the virtual switches. No VMs were running when this issue occurred.
Okay, going to try replicating a similar config and testing.
I believe we have FINALLY been able to duplicate this on a bare metal Windows machine with HyperV. I think this is also a duplicate of #308 since that’s part of the symptom.
Reproduced with 1.1.14 — almost certainly a driver issue related to coexistence with HyperV and possibly other things.
We’ve narrowed it down— when ZT starts on a bare metal HyperV host, a single core gets MAX’d out. but the CPU thrashing is happening in bridge.sys which is part of Windows. Not sure yet if it’s a HyperV component or a Windows component but that’s where the evil is happening.
My guess is that our virtual network port driver (which is a pretty thin fork of OpenVPN’s open source tap-win32 NDIS6 version) is not responding to something or is responding in a way bridge.sys doesn’t like and is triggering a bug in MS’s code. Unfortunately we are going to have to eat it because MS is not going to fix this for us.
Googling shows a lot of issues with bridge.sys . 🙁
@jdrews Is your Hyper-V virtual switch bridged to a wireless network card?
@glimberg Yes I had two Hyper-V virtual switches bridged to physical devices. One to my external ethernet device, and one to my wireless device. See screenshot earlier in this thread.
OK. That mirrors what we’re seeing here in the office. It only happens when bridged with a wireless network card.
We have a ticket open with Microsoft and their networking group is looking into the issue. Hopefully they can either issue a fix for Windows, or let us know what we can change in our driver to prevent the issue from happening.
@jdrews Good news! With some feedback from Microsoft we got this morning, it looks like we have this issue fixed internally and should make it into the 1.2.0 release.
Источник
-
#1
Hey,
I encountered a problem running ZeroTier and I was able to connect to my network
But it does not create another interface
And I get the error PORT_ERROR
I tried to talk to their support but they did not really help me solve it
From my last conversation with them:
«It looks like something is preventing zerotier module from loading/working. There’s no zerotier interface and the status has «PORT ERROR»
On Linux, it’s the `tun` module. Not sure what to do for FreeBSD.
Sometimes the images on VPS hosts don’t have tun for some reason and you need to get it running yourself.»
I would be happy if you could help me with this
Thanks Itay
-
#2
show us the output of ifconfig
on your server with zerotier running. Maybe we will help you to see what’s going on.
What command did you use to join the network (don’t share your network ID here)?
-
#3
show us the output of
ifconfig
on your server with zerotier running. Maybe we will help you to see what’s going on.
It’s at FreeNAS itself
Code:
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=2098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC> ether e0:69:95:2b:bf:5c hwaddr e0:69:95:2b:bf:5c inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.26 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.61 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 02:04:e3:4e:45:00 nd6 options=9<PERFORMNUD,IFDISABLED> groups: bridge id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: vnet0:35 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 4 priority 128 path cost 2000 member: vnet0:25 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 7 priority 128 path cost 2000 member: vnet0:24 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 8 priority 128 path cost 2000 member: vnet0:22 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 5 priority 128 path cost 2000 member: vnet0:21 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 6 priority 128 path cost 2000 member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 55 vnet0:21: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: Emby as nic: epair0b options=8<VLAN_MTU> ether 02:ff:60:c0:af:79 hwaddr 02:84:10:00:06:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair vnet0:22: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: Nextcloud as nic: epair0b options=8<VLAN_MTU> ether 02:ff:60:27:9a:bf hwaddr 02:84:10:00:05:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair vnet0:24: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: reverse_proxy as nic: epair0b options=8<VLAN_MTU> ether 02:ff:60:9f:9a:97 hwaddr 02:84:10:00:08:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair vnet0:25: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: wordpress as nic: epair0b options=8<VLAN_MTU> ether 02:ff:60:ed:53:08 hwaddr 02:84:10:00:07:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair vnet0:35: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: ZeroTier_TC as nic: epair0b options=8<VLAN_MTU> ether 02:ff:60:43:da:28 hwaddr 02:84:10:00:04:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
It’s in the jail of ZeroTier
Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:ff:60:43:da:29 hwaddr 02:84:10:00:09:0b inet 192.168.1.51 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
What command did you use to join the network (don’t share your network ID here)?
Code:
zerotier-cli join mynetwork
-
#4
OK, so I confirm you have no zerotier adapter in that output.
My understanding was that the zerotier network should run on the host and be bridged to whatever jails (perhaps with a dedicated VNET interface) needed.
What happens if you run that command on the host instead?
-
#5
What happens if you run that command on the host instead?
Do you want me to install ZeroTier on the FreeNAS itself ?? And I do not think it’s the most safe to install it directly on FreeNAS
Or just the command of connecting to the network ??? Because I do not think it will work because there is no ZeroTier installed on FreeNAS according to what I know.
-
#6
Did you also run zerotier-one -d
first?
-
#7
Do you want me to install ZeroTier on the FreeNAS itself ?? And I do not think it’s the most safe to install it directly on FreeNAS
Or just the command of connecting to the network ??? Because I do not think it will work because there is no ZeroTier installed on FreeNAS according to what I know.
ZeroTier is already installed on FreeNAS from some version around 11.0.
-
#8
Did you also run
zerotier-one -d
first?
In the jail or in FreeNAS itself?
-
#9
In the jail or in FreeNAS itself?
On FreeNAS. In my opinion, you don’t need a jail for zerotier itself.
-
#10
On FreeNAS. In my opinion, you don’t need a jail for zerotier itself.
Ok
I delete the jail and start from scratch
And I will try with zerotier-one -d
And if that fails I will think whether to install on FreeNAS itself. Because I think it’s much more likely to install such things on jails
-
#11
So to be clear and in one single message:
start the zerotier daemon:
zerotier-one -d
Join a network:
zerotier-cli join networkID
you get a response like this
ztcxxxxxxxxxx
200 join OK
where ztcxxxxxxxxxx is the new interface
then you can bridge the new interface to your selected VNET… and work out the routing you want to have happening, since the VNET will not normally be on the same subnet/IP range as your zerotier network, so routing or some kind of accordance with the addressing scheme will be needed to make any of it useful.
I guess you could play with the zerotier bridging mode for that interface (on their website) and perhaps then the zerotier network would just become part of your bridged network directly and follow the local addressing scheme.
-
#12
On FreeNAS. In my opinion, you don’t need a jail for zerotier itself.
Ok at the end I gave up and hooked up on the FreeNAS itself!
And everything works !! I have another interface and I get IP from the network
And now I can create another interface in ui and also it appears in ifconfig.
So thanks for the help !!!
-
#13
So to be clear and in one single message:
start the zerotier daemon:
zerotier-one -d
Join a network:
zerotier-cli join networkID
you get a response like this
ztcxxxxxxxxxx
200 join OKwhere ztcxxxxxxxxxx is the new interface
then you can bridge the new interface to your selected VNET… and work out the routing you want to have happening, since the VNET will not normally be on the same subnet/IP range as your zerotier network, so routing or some kind of accordance with the addressing scheme will be needed to make any of it useful.
I guess you could play with the zerotier bridging mode for that interface (on their website) and perhaps then the zerotier network would just become part of your bridged network directly and follow the local addressing scheme.
Hey a little question
Is there a possibility to stop the zerotier? Or something like that?
-
#14
ZeroTier is already installed on FreeNAS from some version around 11.0.
The problem is that the support is… well… «half-baked» would be an overly-charitable description. There’s no GUI support at all, the service isn’t enabled at boot, and the biggest problem is that the host address changes on reboot. And based on the bug ticket I filed, the devs don’t seem to be in the least bit interested in improving it.
-
#15
So to be clear and in one single message:
start the zerotier daemon:
zerotier-one -d
Join a network:
zerotier-cli join networkID
you get a response like this
ztcxxxxxxxxxx
200 join OKwhere ztcxxxxxxxxxx is the new interface
then you can bridge the new interface to your selected VNET… and work out the routing you want to have happening, since the VNET will not normally be on the same subnet/IP range as your zerotier network, so routing or some kind of accordance with the addressing scheme will be needed to make any of it useful.
I guess you could play with the zerotier bridging mode for that interface (on their website) and perhaps then the zerotier network would just become part of your bridged network directly and follow the local addressing scheme.
Hey, can you please explain to me how i can set two interfaces to jail one interface of zerotier with zerotier’s IP. And the other with the IP that I set for him like I did for every jail until now that he had access to the Internet
I hope I was clear what I wanted to do:).
-
#16
Is there a possibility to stop the zerotier? Or something like that?
I guess there are a couple of ways to think about that…
you can unjoin the network
you can kill the zerotier-one process
One day, when the GUI has support for zerotier, you may be able to do that under services in the GUI… for now, not an option.
-
#17
I guess there are a couple of ways to think about that…
you can unjoin the network
you can kill the zerotier-one process
One day, when the GUI has support for zerotier, you may be able to do that under services in the GUI… for now, not an option.
I thought about the unjoin, but I would still want him to be inside the network just turned off.
So I understand that for now the only way is to kill the process?
So what is the command to do this?
And how do I turn it back on?
-
#18
I thought about the unjoin, but I would still want him to be inside the network just turned off.
So I understand that for now the only way is to kill the process?
So what is the command to do this?
And how do I turn it back on?
Ok I managed
@sretalla
Can you help me with this please:)
Hey, can you please explain to me how i can set two interfaces to jail one interface of zerotier with zerotier’s IP. And the other with the IP that I set for him like I did for every jail until now that he had access to the Internet
I hope I was clear what I wanted to do:).
-
#19
Hey, can you please explain to me how i can set two interfaces to jail one interface of zerotier with zerotier’s IP. And the other with the IP that I set for him like I did for every jail until now that he had access to the Internet
To create yourself another bridge and add the zerotier network adapter to it, you would do something like this:
ifconfig bridge1 create
ifconfig bridge1 addm ztcxxxxxxxxx up
Then you need some help from someone who really knows how to do what you’re asking for, which is to have 2 VNET NICs in a jail, one bridged to bridge0 and the other bridged to bridge1… I haven’t got enough time to work it out right now.
-
#20
To create yourself another bridge and add the zerotier network adapter to it, you would do something like this:
ifconfig bridge1 create
ifconfig bridge1 addm ztcxxxxxxxxx up
Then you need some help from someone who really knows how to do what you’re asking for, which is to have 2 VNET NICs in a jail, one bridged to bridge0 and the other bridged to bridge1… I haven’t got enough time to work it out right now.
When do I create this bridge1 it also creates VNET1?
0
Joining my Zerotier VPN using
sudo zerotier-cli join <id>
stopped working for me after a reboot, returning
0 join connection failed
What am I missing?
- arch-linux
- systemd
- vpn
Improve this question
asked Nov 13, 2022 at 21:39
Nicolai WeitkemperNicolai Weitkemper
1013 bronze badges
Add a comment
|
1 Answer
Sorted by:
Reset to default
0
Make sure that the zerotier service is started and running:
systemctl status zerotier-one.service
systemctl enable zerotier-one.service # start automatically
systemctl start zerotier-one.service # start once
This is also mentioned in their knowledge base.
Improve this answer
edited Nov 13, 2022 at 22:18
answered Nov 13, 2022 at 21:39
Nicolai WeitkemperNicolai Weitkemper
1013 bronze badges
Add a comment
|
Your Answer
Sign up or log in
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Name
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Not the answer you’re looking for? Browse other questions tagged
- arch-linux
- systemd
- vpn
or ask your own question.
Not the answer you’re looking for? Browse other questions tagged
- arch-linux
- systemd
- vpn
or ask your own question.
-
outkastm
- Posts: 925
- Joined: 29 Dec 2020, 23:52
[ ZeroTier ] Securely connect any device, anywhere
About: https://www.zerotier.com/
Category: Utility
Applicable models: x.64 series, armv8 series
Applicable TOS4: 4.1.27 or later versions
Applicable TOS5: 5.0.129 or later versions
App download: https://tmnascommunity.eu/download/zerotier
Module WebUI for additional settings can be accesses at
http(s)://yournasip:port/modules/ZeroTier/www
How to manully install this app on TerraMaster application store?
About
Connect team members from anywhere in the world on any device.
ZeroTier creates secure networks between on-premise, cloud, desktop, and mobile devices.
ZeroTier combines the capabilities of VPN and SD-WAN, simplifying network management.
Enjoy flexibility while avoiding costly hardware vendor lock in.
-
MooieBoot
- Posts: 23
- Joined: 24 Nov 2021, 05:29
Re: [ ZeroTier ][ 1.8.3.0 ] Securely connect any device, anywhere
Post
by MooieBoot » 29 Nov 2021, 04:04
Hi, thanks for your effort!
Using the web module page, I’m unable to start the service, also though commandline I can’t start the service:
sudo service zerotier-one start
>zerotier-one not exists
Without the service starting, I’m unable to start zerotier and daemonize it:
sudo zerotier-one -d
> zerotier-one: fatal error: authtoken.secret could not be written
Without zerotier-one started I’m unable to join any networks:
sudo zerotier-cli join xxxxxxxxxxx
> zerotier-cli: missing port and zerotier-one.port not found in /var/lib/zerotier-one
Is is possible to integrate zerotier-one as a service on TOS?
-
outkastm
- Posts: 925
- Joined: 29 Dec 2020, 23:52
Re: [ ZeroTier ][ 1.8.3.0 ] Securely connect any device, anywhere
Post
by outkastm » 30 Nov 2021, 06:01
dowload again the app, i made some changes.
The daemon start automatically and it create your address, you can check this in the WebUI
From CLI you just need to login the network if you want
Code: Select all
[administrator@TNAS-xxx ~]$ sudo zerotier-cli join xxxxxxxxxxxxxxxx
Password:
200 join OK
-
MooieBoot
- Posts: 23
- Joined: 24 Nov 2021, 05:29
Re: [ ZeroTier ][ 1.8.3.0 ] Securely connect any device, anywhere
Post
by MooieBoot » 30 Nov 2021, 18:56
Hi, thanks for the update!
A reboot of the NAS is needed after installation for the service to start/initalize.
A LAN connection is set to «Use as default Gateway» to retain internet connection
However it doesn’t seem to work. ZeroTier gets an ipv6 address when I check through cli (ifconfig) and not an ipv4 (which I manually assigned it thourh zerotier), will try to see if I can fix and report back here.
-
MooieBoot
- Posts: 23
- Joined: 24 Nov 2021, 05:29
Re: [ ZeroTier ][ 1.8.3.0 ] Securely connect any device, anywhere
Post
by MooieBoot » 30 Nov 2021, 19:13
After joining through CLI, the service needs to be stopped and started through the app icon.
Now TOS is accesable through the provied ipv4 address from zerotier
Also make sure you disable «Allow Telnet / SSH only within the local network» if you would like to access your TNAS through SSH and zerotier.
Many thanks for your hard work @outkastm !
-
MooieBoot
- Posts: 23
- Joined: 24 Nov 2021, 05:29
Re: [ ZeroTier ][ 1.8.3.0 ] Securely connect any device, anywhere
Post
by MooieBoot » 30 Nov 2021, 21:30
After a reboot, the interface is completely gone (using ifconfig to check) so no IP can’t be assigned anymore.
-
MooieBoot
- Posts: 23
- Joined: 24 Nov 2021, 05:29
Re: [ ZeroTier ][ 1.8.3.0 ] Securely connect any device, anywhere
Post
by MooieBoot » 30 Nov 2021, 21:54
After a reboot, package needs to be removed and reinstalled, reconfigured and then it’s working again.
This is not practical, can you adjust the startup script?
-
outkastm
- Posts: 925
- Joined: 29 Dec 2020, 23:52
Re: [ ZeroTier ][ 1.8.3.0 ] Securely connect any device, anywhere
Post
by outkastm » 01 Dec 2021, 02:24
Will have a look, I didn’t test it with reboot.
The config are saved on the default path /var/lib/ZeroTier-one but maybe the TOS is reseting this folder on reboot.
I will adapt it to save the files on /mnt/appdata/MOD_CONFIG/ZeroTier
-
outkastm
- Posts: 925
- Joined: 29 Dec 2020, 23:52
Re: [ ZeroTier ][ 1.8.3.1 ] Securely connect any device, anywhere
Post
by outkastm » 01 Dec 2021, 06:04
up to 1.8.3.1
fixed the issue that the config is deleted after NAS is rebooted