0

I got a problem about using ZeroTier.

I have three machines: Machine A (Macbook, local machine), Machine B (Ubuntu, server machine1), Machine C (Ubuntu, server machine2). I use ZeroTier to connect them together as a “virtual local area network”. Now:

Machine A ---> Machine B (ssh is OK)

Machine B ---> Machine C (ssh is OK)

Machine A ---> Machine C (connect to host 172.26.xxx.xxx port 22: Operation timed out)

Machine A ---> Machine B ---> Machine C (ssh is OK)

Checked Machine C:

sudo netstat -anp | grep sshd

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      9448/sshd
tcp        0      0 172.26.xxx.xxx:22       172.26.xxx.xxx:37382     ESTABLISHED 36300/sshd: xxxx [
tcp6       0      0 :::22                   :::*                    LISTEN      9448/sshd
unix  2      [ ]         DGRAM                    161114   36300/sshd: xxxx [
unix  3      [ ]         STREAM     CONNECTED     65464    9448/sshd
unix  3      [ ]         STREAM     CONNECTED     110233   36300/sshd: xxxx [
unix  3      [ ]         STREAM     CONNECTED     110232   36393/sshd: xxxx@p

sudo ufw verbose

Status: active

To                         Action      From
--                         ------      ----
22                         ALLOW       Anywhere
22/tcp                     ALLOW       Anywhere
22 (v6)                    ALLOW       Anywhere (v6)
22/tcp (v6)                ALLOW       Anywhere (v6)

sudo iptables -L | grep ssh

ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh

Any suggestions? Thanks. A.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.