SSH/Web acces unreachable from MacOS Ventura 13.2.1 to Ubuntu 20.04

Hello all,

I am trying to set up remote access to my workstation (Ubuntu 20.04). I would be connecting from my MacBook running macOS Ventura 13.2.1.
I have successfully installed the ThinLinc server as when I run the commands

sudo systemctl status vsmserver
sudo systemctl status vsmagent
sudo systemctl status tlwebaccess

I do see “active (running)” on all of them, and I can ssh and web access from the workstation itself.
Unfortunately, when I turn to my Mac, and try to either ssh or web access, it doesn’t work: it tries to access for a while and then either “can’t open the page, server unresponding” for web access or “port 22: Operation timed out” errors show up. The ports 22, 53/tcp and 300/tcp are open.
I believe it is a firewall issue since the ssh works and the web access too but only locally. Maybe more ports are needed than the 3 I have mentioned?

Thank you for your time!


Are the server and MacBook on the same LAN? If so, you probably need to allow the ports in the Ubuntu firewall

You can check if the firewall is enabled with:

sudo ufw status

If it it’s enabled, you can add rules to allow ssh and tlwebaccess :

sudo ufw allow 22
sudo ufw allow 300

Kind regards


Thanks for your answer.
I believe they are since they have the same first number in their IP address…
My FW is active, and those ports were already open. I did still run those commands but am still unable to connect from the mac. :frowning:
Even when I disable my firewall the remote connection still can’t be made.

Thanks in advance! :smiley:

Okay, so even with the Ubuntu firewall turned off, the mac cannot reach port 22 or 300?

Is the firewall activated on your Mac that might be blocking outgoing connections? That should not be the default behavior, unless explicitly configured to do so, but might be worth checking.

“Ubuntu firewall turned off, the mac cannot reach port 22 or 300?” Correct
On my mac yes the fw is activated, but no outgoing connections are blocked. Even if I deactivate it (both fw are disabled then), I can’t reach the ThinLinc’s server…

Ok. Could you provide with me the output of the following commands.
Please format them with Performatted text (Ctrl+E).

On your Ubuntu server:

ip r s


ip a s

On your Mac:



netstat -rn

These commands will display ip address configurations for your network interfaces and routing information.

If you do not wish to disclose this information publicly, please let me know, and I will give you an email address you can send this to.

From the Ubuntu PC:

(base) adminlocal@OPT7090-1-ADX:~$ ip r s
default via dev enp0s31f6 proto dhcp metric 100 dev enp0s31f6 proto kernel scope link src metric 100 dev enp0s31f6 scope link metric 1000 
(base) adminlocal@OPT7090-1-ADX:~$ ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether d0:8e:79:07:c3:d8 brd ff:ff:ff:ff:ff:ff
    inet brd scope global dynamic noprefixroute enp0s31f6
       valid_lft 259069sec preferred_lft 259069sec
    inet6 fe80::17be:229:5fbe:237e/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

From the Mac:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
	ether 26:94:0e:92:6f:ea 
	inet6 fe80::2494:eff:fe92:6fea%anpi1 prefixlen 64 scopeid 0x4 
	nd6 options=201<PERFORMNUD,DAD>
	media: none
	status: inactive
	ether 26:94:0e:92:6f:e9 
	inet6 fe80::2494:eff:fe92:6fe9%anpi0 prefixlen 64 scopeid 0x5 
	nd6 options=201<PERFORMNUD,DAD>
	media: none
	status: inactive
	ether 26:94:0e:92:6f:c9 
	nd6 options=201<PERFORMNUD,DAD>
	media: none
	status: inactive
	ether 26:94:0e:92:6f:ca 
	nd6 options=201<PERFORMNUD,DAD>
	media: none
	status: inactive
	ether 36:eb:6f:bc:4e:40 
	media: autoselect <full-duplex>
	status: inactive
	ether 36:eb:6f:bc:4e:44 
	media: autoselect <full-duplex>
	status: inactive
	ether 36:eb:6f:bc:4e:40 
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x0
	member: en1 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 8 priority 0 path cost 0
	member: en2 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 9 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: <unknown type>
	status: inactive
	ether 3e:91:80:db:b9:f2 
	inet6 fe80::3c91:80ff:fedb:b9f2%ap1 prefixlen 64 scopeid 0xb 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect (<unknown type>)
	status: inactive
	ether 1c:91:80:db:b9:f2 
	inet6 fe80::e2:f8d8:b505:5276%en0 prefixlen 64 secured scopeid 0xc 
	inet netmask 0xfffffc00 broadcast
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
	ether ea:08:13:e5:8b:0d 
	inet6 fe80::e808:13ff:fee5:8b0d%awdl0 prefixlen 64 scopeid 0xd 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
	ether ea:08:13:e5:8b:0d 
	inet6 fe80::e808:13ff:fee5:8b0d%llw0 prefixlen 64 scopeid 0xe 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: inactive
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::7f40:133c:9888:18e5%utun0 prefixlen 64 scopeid 0xf 
	nd6 options=201<PERFORMNUD,DAD>
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
	inet6 fe80::991b:860e:64f7:f2a6%utun1 prefixlen 64 scopeid 0x10 
	nd6 options=201<PERFORMNUD,DAD>
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000
	inet6 fe80::ce81:b1c:bd2c:69e%utun2 prefixlen 64 scopeid 0x11 
	nd6 options=201<PERFORMNUD,DAD>
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::c112:93b:c1f0:3ec1%utun3 prefixlen 64 scopeid 0x12 
	nd6 options=201<PERFORMNUD,DAD>
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::be84:63a9:a0b8:d0a1%utun4 prefixlen 64 scopeid 0x13 
	nd6 options=201<PERFORMNUD,DAD>

netstat -rn
Routing tables

Destination        Gateway            Flags           Netif Expire
default        UGScg             en0       
127                UCS               lo0          UH                lo0       
157.136.192/22     link#12            UCS               en0      !      52:b4:df:39:6f:bb  UHLWI             en0   1013      de:b8:f2:f1:44:a5  UHLWI             en0   1019     b6:79:7d:57:ae:19  UHLWI             en0   1088     e:1d:d6:15:20:82   UHLWI             en0    943     ca:42:3a:96:b9:e7  UHLWI             en0    908     90:78:41:e0:ea:39  UHLWI             en0   1089     2e:7:d0:24:4c:b1   UHLWI             en0   1199     a4:83:e7:d6:93:6b  UHLWI             en0   1197     38:f9:d3:4d:1f:8f  UHLWI             en0   1194     b2:6f:b9:9e:46:ad  UHLWI             en0   1007     d4:d8:53:39:a0:94  UHLWI             en0   1161     d4:57:63:ce:6e:cb  UHLWI             en0    993     46:54:3d:2c:73:d2  UHLWI             en0   1139     66:13:d5:2f:96:73  UHLWI             en0   1181     2e:87:6e:1:eb:a1   UHLWI             en0    910     3c:a6:f6:29:7b:17  UHLWI             en0    921     d8:fc:93:a2:c4:3e  UHLWI             en0    948 link#12            UCS               en0      !    d6:21:e0:de:1b:8d  UHLWI             en0   1157    2a:e9:c9:25:a1:6f  UHLWI             en0   1168    de:56:ec:e6:24:74  UHLWI             en0    988    a2:89:92:2b:e4:ce  UHLWI             en0    929    da:51:49:97:f7:50  UHLWI             en0   1194    70:d8:23:fd:12:ef  UHLWI             en0    902    7a:3b:59:3:25:75   UHLWI             en0   1108    1e:98:77:49:8c:72  UHLWI             en0    969    1a:63:be:7d:5e:6f  UHLWI             en0   1196    a:60:8b:3:bd:a7    UHLWI             en0   1103    1e:a9:3a:c0:fb:d3  UHLWI             en0   1190    b2:6a:ed:81:76:6b  UHLWI             en0   1069    90:9c:4a:bf:ef:94  UHLWI             en0   1001    e6:4:e6:94:25:19   UHLWI             en0   1194      70:cf:49:e6:5b:36  UHLWI             en0    902     52:5f:30:62:1c:ee  UHLWI             en0   1071     3c:22:fb:c1:28:ab  UHLWI             en0   1090     5e:7a:7:ce:1:6f    UHLWI             en0   1061     6a:e4:1d:72:47:9b  UHLWI             en0   1132     46:36:62:5d:3:1c   UHLWI             en0   1023     66:b3:7c:29:99:b3  UHLWI             en0   1146     42:b2:9a:ae:df:f2  UHLWI             en0   1067    8:8e:90:8:e8:69    UHLWI             en0    978    b6:a3:b5:ce:23:78  UHLWI             en0    995    3c:21:9c:dc:da:ed  UHLWI             en0    902    7e:d8:e9:f9:fd:65  UHLWI             en0    933    98:50:2e:4a:b5:c1  UHLWI             en0   1074    32:23:16:bc:de:f9  UHLWI             en0   1039    8a:33:91:b9:d3:f6  UHLWI             en0   1149    ee:c1:7c:e3:6d:6e  UHLWI             en0   1048    2a:50:26:33:52:e7  UHLWI             en0   1199    3c:58:c2:b8:73:6a  UHLWI             en0   1148    5a:d6:0:a3:ef:30   UHLWI             en0   1157    a2:24:7c:95:5c:67  UHLWI             en0    942    da:7b:b5:aa:ee:dd  UHLWI             en0    971   link#12            UCS               en0      !      0:9:f:9:0:12       UHLWIir           en0   1200      0:50:56:9a:1:12    UHLWI             en0   1200     86:6d:7f:eb:2e:b2  UHLWI             en0   1076     1a:3d:53:3e:4a:f5  UHLWI             en0   1097     82:29:d9:a6:25:4e  UHLWI             en0   1118     66:b5:86:f5:cf:3c  UHLWI             en0   1183    e:cb:f7:74:7c:e9   UHLWI             en0   1200    5a:ad:a8:d4:ce:45  UHLWI             en0    935    fa:5a:f8:c7:8c:26  UHLWI             en0   1183    4a:21:e5:a6:78:bf  UHLWI             en0   1173    f2:c5:10:71:4a:64  UHLWI             en0    954    ea:93:9c:f8:4f:e1  UHLWI             en0   1160    1e:5d:c8:79:59:6a  UHLWI             en0   1083    72:8d:56:7a:99:fe  UHLWI             en0   1182    da:7:d:51:16:8f    UHLWI             en0    970    5a:f5:72:5f:af:88  UHLWI             en0   1188    b6:64:7f:4e:c2:fe  UHLWI             en0    959    52:9b:d3:59:66:77  UHLWI             en0   1198    8a:14:69:1c:e8:60  UHLWI             en0   1152    e2:43:dc:c7:5b:fd  UHLWI             en0    928    76:63:5c:a1:3d:74  UHLWI             en0   1055    6e:8d:ad:86:56:a5  UHLWI             en0   1182      ae:73:3b:48:87:97  UHLWI             en0   1039     be:40:5:2f:2f:28   UHLWI             en0    984     e2:ad:ac:47:17:b4  UHLWI             en0   1129     4e:c0:1f:77:a7:2b  UHLWI             en0   1150     3a:6:14:75:78:51   UHLWI             en0   1175     e6:7e:71:ad:77:7c  UHLWI             en0   1157     f6:83:49:a0:9b:6d  UHLWI             en0    910     9e:a2:d8:e5:96:cf  UHLWI             en0   1094     22:f5:ea:1d:6d:c9  UHLWI             en0   1079     2:a9:eb:5f:e8:5    UHLWI             en0   1008    68:54:5a:97:dd:44  UHLWI             en0   1051    1e:55:ab:f1:78:ea  UHLWI             en0   1190    da:d1:2b:fd:1e:31  UHLWI             en0   1068    82:37:d8:2e:5e:43  UHLWI             en0    949    aa:c0:b:3d:3b:e7   UHLWI             en0    971    36:f6:67:e1:4:64   UHLWI             en0   1167    8a:b:50:db:a5:80   UHLWI             en0   1161    8:8e:90:85:a0:6b   UHLWI             en0   1052    a:d6:70:82:19:1    UHLWI             en0   1113    9e:99:bf:3c:39:b9  UHLWI             en0   1046    e:2:3e:ac:84:d2    UHLWI             en0    993    12:54:fc:20:f0:2c  UHLWI             en0    927    fa:65:6:a5:a2:d5   UHLWI             en0    980    ea:63:e9:ad:70:6c  UHLWI             en0   1118    8e:1c:6c:fe:1b:e1  UHLWI             en0   1037    a2:b5:bf:14:2:58   UHLWI             en0    960    4e:1c:f3:bf:16:9e  UHLWI             en0    992    a0:e7:b:a1:65:76   UHLWI             en0   1188    8e:82:48:97:65:d9  UHLWI             en0   1030    b2:77:ee:6f:85:57  UHLWI             en0    995
169.254            link#12            UCS               en0      !     d6:21:e0:de:1b:8d  UHLSW             en0   1086       5a:f5:72:5f:af:88  UHLSW             en0   1026     8e:1c:6c:fe:1b:e1  UHLSW             en0   1037      8:8e:90:85:a0:6b   UHLSW             en0   1039    68:54:5a:97:dd:44  UHLSW             en0   1039    a0:e7:b:a1:65:76   UHLSW             en0   1150
224.0.0/4          link#12            UmCS              en0      !        1:0:5e:0:0:fb      UHmLWI            en0 link#12            UCS               en0      !

Destination                             Gateway                         Flags           Netif Expire
default                                 fe80::%utun0                    UGcIg           utun0       
default                                 fe80::%utun1                    UGcIg           utun1       
default                                 fe80::%utun2                    UGcIg           utun2       
default                                 fe80::%utun3                    UGcIg           utun3       
default                                 fe80::%utun4                    UGcIg           utun4       
::1                                     ::1                             UHL               lo0       
fe80::%lo0/64                           fe80::1%lo0                     UcI               lo0       
fe80::1%lo0                             link#1                          UHLI              lo0       
fe80::%anpi1/64                         link#4                          UCI             anpi1       
fe80::2494:eff:fe92:6fea%anpi1          26:94:e:92:6f:ea                UHLI              lo0       
fe80::%anpi0/64                         link#5                          UCI             anpi0       
fe80::2494:eff:fe92:6fe9%anpi0          26:94:e:92:6f:e9                UHLI              lo0       
fe80::%ap1/64                           link#11                         UCI               ap1       
fe80::3c91:80ff:fedb:b9f2%ap1           3e:91:80:db:b9:f2               UHLI              lo0       
fe80::%en0/64                           link#12                         UCI               en0       
fe80::e2:f8d8:b505:5276%en0             1c:91:80:db:b9:f2               UHLI              lo0       
fe80::90eb:a4ff:fea8:eea4%awdl0         92:eb:a4:a8:ee:a4               UHLI              lo0       
fe80::90eb:a4ff:fea8:eea4%llw0          92:eb:a4:a8:ee:a4               UHLI              lo0       
fe80::%utun0/64                         fe80::7f40:133c:9888:18e5%utun0 UcI             utun0       
fe80::7f40:133c:9888:18e5%utun0         link#15                         UHLI              lo0       
fe80::%utun1/64                         fe80::991b:860e:64f7:f2a6%utun1 UcI             utun1       
fe80::991b:860e:64f7:f2a6%utun1         link#16                         UHLI              lo0       
fe80::%utun2/64                         fe80::ce81:b1c:bd2c:69e%utun2   UcI             utun2       
fe80::ce81:b1c:bd2c:69e%utun2           link#17                         UHLI              lo0       
fe80::%utun3/64                         fe80::c112:93b:c1f0:3ec1%utun3  UcI             utun3       
fe80::c112:93b:c1f0:3ec1%utun3          link#18                         UHLI              lo0       
fe80::%utun4/64                         fe80::be84:63a9:a0b8:d0a1%utun4 UcI             utun4       
fe80::be84:63a9:a0b8:d0a1%utun4         link#19                         UHLI              lo0       
ff00::/8                                ::1                             UmCI              lo0       
ff00::/8                                link#4                          UmCI            anpi1       
ff00::/8                                link#5                          UmCI            anpi0       
ff00::/8                                link#11                         UmCI              ap1       
ff00::/8                                link#12                         UmCI              en0       
ff00::/8                                link#13                         UmCI            awdl0       
ff00::/8                                link#14                         UmCI             llw0       
ff00::/8                                fe80::7f40:133c:9888:18e5%utun0 UmCI            utun0       
ff00::/8                                fe80::991b:860e:64f7:f2a6%utun1 UmCI            utun1       
ff00::/8                                fe80::ce81:b1c:bd2c:69e%utun2   UmCI            utun2       
ff00::/8                                fe80::c112:93b:c1f0:3ec1%utun3  UmCI            utun3       
ff00::/8                                fe80::be84:63a9:a0b8:d0a1%utun4 UmCI            utun4       
ff01::%lo0/32                           ::1                             UmCI              lo0       
ff01::%anpi1/32                         link#4                          UmCI            anpi1       
ff01::%anpi0/32                         link#5                          UmCI            anpi0       
ff01::%ap1/32                           link#11                         UmCI              ap1       
ff01::%en0/32                           link#12                         UmCI              en0       
ff01::%utun0/32                         fe80::7f40:133c:9888:18e5%utun0 UmCI            utun0       
ff01::%utun1/32                         fe80::991b:860e:64f7:f2a6%utun1 UmCI            utun1       
ff01::%utun2/32                         fe80::ce81:b1c:bd2c:69e%utun2   UmCI            utun2       
ff01::%utun3/32                         fe80::c112:93b:c1f0:3ec1%utun3  UmCI            utun3       
ff01::%utun4/32                         fe80::be84:63a9:a0b8:d0a1%utun4 UmCI            utun4       
ff02::%lo0/32                           ::1                             UmCI              lo0       
ff02::%anpi1/32                         link#4                          UmCI            anpi1       
ff02::%anpi0/32                         link#5                          UmCI            anpi0       
ff02::%ap1/32                           link#11                         UmCI              ap1       
ff02::%en0/32                           link#12                         UmCI              en0       
ff02::%utun0/32                         fe80::7f40:133c:9888:18e5%utun0 UmCI            utun0       
ff02::%utun1/32                         fe80::991b:860e:64f7:f2a6%utun1 UmCI            utun1       
ff02::%utun2/32                         fe80::ce81:b1c:bd2c:69e%utun2   UmCI            utun2       
ff02::%utun3/32                         fe80::c112:93b:c1f0:3ec1%utun3  UmCI            utun3       
ff02::%utun4/32                         fe80::be84:63a9:a0b8:d0a1%utun4 UmCI

Thanks a lot!


The information you provided tells us that your Mac and Ubuntu server are not on the same network segment, and that the traffic between them will need to pass through routers to establish a communication path. There are most probably firewall(s) between these machines as well.

You’d need to talk to your network administrator / IT Helpdesk to find out if what you want to achieve is possible in your situation.

Kind regards,

Oh ok!
I am working at a National Institute laboratory so it’s not surprising that the “wifi” network isn’t the same as the Ethernet one…I will definilty go see a network admin for help on that :slight_smile:

Thank you again for your time!

No problem.

Don’t hesitate to open another thread if there’s something more we can help you with, have a fantastic day!