Friday, November 22, 2024

distant desktop – Sonoma drawback: not in a position to make use of vnc by tunnel on non-public community

The configuration I used previously 10 years or so was OK till I upgraded to Sonoma. I do not know what to do to make it work once more.

Right here is the configuration:

macmini@work on public community

macmini@house on non-public community

Each with display screen sharing enabled. The command I take advantage of are the next:

    ssh -Nfn -L 5901:127.0.0.1:5900  [email protected]
    open vnc://localhost:5901

The place xxx.xxx.xxx.xxx is the IP deal with of my work macmini (or the router IP after I join from work -> house). From house every thing is OK as ordinary (I want to make use of a tunnel as a result of there’s a firewall blocking port 5902) and I connect with my work macmini.

The opposite means round (work -> house) would not work anymore. The tunnel is OK however I can not join (and it is not an authentication drawback as a result of my connection is blocked earlier than the same old authentication field seems).

The error I get is a generic localhost connection failed after which provides some suggestion on enabling display screen sharing or distant administration.

Extra info: the router configuration is okay (the router is within the DMZ zone and the SSH port is forwarded to my house macmini and I can connect with my house macmini through ssh) and each macmini have the identical sharing configuration. I additionally tried to allow “distant managment” however the issue is similar.

My impression is that the issue is by some means extra stringent safety in Sonoma as a result of after I allow “display screen sharing” in my macmini it says that I can connect with the mac utilizing 192.168.0.100 (which is its IP deal with within the non-public community) or by its title. The vnc connection nonetheless arrives by the tunnel and use a distinct title (I attempted each utilizing localhost and 127.0.0.1 however the error is similar). The opposite means round (house -> work) works as a result of I am utilizing the general public IP deal with which is reported within the “display screen sharing” allowed IP deal with to make use of to attach.

So the query is: is there anyone that had the identical drawback? How did you resolve it? How can I management what allowed IP/NAME can connect with the macmini vnc server?

And at last: what different possibility do I’ve if I can not connect with my macmini@house by a tunnel? In fact I do not wish to pay 90$ for the Apple Distant Desktop app.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles