-
#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.
I downloaded zero tier from their website using the following command:
curl -s https://install.zerotier.com | sudo bash
Whenever I try to use the zerotier cli it’s giving the following error:
«zerotier-cli: missing port and zerotier-one.port not found in /var/lib/zerotier-one»
I am using Ubuntu 20.04. How to resolve this error?
asked Jul 23, 2021 at 5:48
try
zerotier-one -d
start the service
before you use zerotier-cli
answered Aug 17, 2021 at 14:35
admingyuadmingyu
3612 silver badges5 bronze badges
1
First, review the whole service log with:
journalctl -u zerotier-one.service
Good chances you’ll see that the 9993 port is already allocated by some other service (e.g. docker, etc.), which might look like that:
/usr/sbin/zerotier-one: fatal error: cannot bind to local control interface port 9993
If so, then simply change the default port, e.g. to 9994, by generating /var/lib/zerotier-one/local.conf with the following content:
{
"settings": {
"primaryPort": 9994
}
}
answered Oct 18, 2022 at 16:59
Shahar GinoShahar Gino
1253 silver badges11 bronze badges
How to connect to the server
How to connect to the server
This page is intended to show the host’s friend(s) how to connect to his or her server.
It’s actually quite easy. We only need to download the ZeroTier client.
-
1.
Go to the download page, and select
Windows
.
-
2.
Open the
ZeroTier One.msi
file
-
3.
There will be no installation prompts or instructions.
-
4.
When it’s finished, you should see this icon
in your system tray.
Joining your host’s network
Joining your host’s network
We now need to join the ZeroTier network of the server host.
-
1.
Find the little
icon in your system tray
-
2.
Right click and select
Join New Network...
-
3.
Get the
Network ID
from your host!
-
4.
You can now confirm that you have joined the network by right-clicking the ZeroTier tray icon:
-
5.
Remind your server host that you need to be authorized. They will understand what it means!
Using the Skyrim Together Reborn UI (STRUI)
Using the Skyrim Together Reborn UI (STRUI)
Now to connect to your friends Skyrim Together Reborn server.
-
1.
To access the Skyrim Together Reborn UI, press
F2
orRight-CTRL
. From now on, the guide will refer to it as theSTRUI
. -
2.
Open up the
STRUI
by pressing eitherF2
orRight-CTRL
.-
If
STRUI
does not open, please seethis page
for help.
-
-
3.
Press the
Connect
button to start connecting to a server
Please make sure you have finished the Helgen intro sequence / tutorial before following these steps.
-
1.
Before you press
Connect
, you will need to enter your server’s connection information. -
2.
There will be an
Address
field and aPassword
field. -
3.
In the
Address
field, you should put your server’s managed IPv4 address.-
If you’re the one hosting it on your PC, you will enter the IP address
127.0.0.1
. -
If you’re a friend of the host, trying to connect to their ZeroTier hosted server, you will need to enter
the managed IP address
.
-
-
4.
Press
Connect
to connect to the server; there should be a visual and an audial confirmation that you’re connected. -
5.
It should say
Succesfully connected to a server
in the little chat window. -
6.
Now you should be connected and ready to play Skyrim Together Reborn with your friends.
Visit the Server setup section of this wiki to learn how to host a server!
Read the
playguide
to learn how to properly complete quests with your friends!
If you want to do quests with your friends, you must first read the
playguide
.
-
2.
If the troubleshooting pages were ineffective in helping you, you can always ask questions on the
Discord server
.
-
3.
If your connection times out, make sure you have ZeroTier open, on both the server host and on your PC.
That was it, for the ZeroTier server setup.
That was it, for the ZeroTier server setup.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.