Screen share over VPN not working on Mac

Comments

10 comments

  • Avatar
    Firewalla

    How are you accessing the MAC screen? is it via the MAC IP address? or via the mac's name?  

    Also, check your LAN settings on the machine connecting to VPN, make sure its IP address allocation is different from your MAC at home. 

    0
    Comment actions Permalink
  • Avatar
    Ken Anderson

    I've tried IP and name...DNS resolution is fine - I can ping the machine without issue. When both machines are on the same network, no problem.

    The IP ranges are completely different - I switch to cellular to test.

     

    0
    Comment actions Permalink
  • Avatar
    Firewalla

    Do you have any rules applied to the LAN segment?  Are you using vnc:// to connect?

    0
    Comment actions Permalink
  • Avatar
    Ken Anderson

    The only rules I have is to block gaming at certain times on my sons’ computers and phones.

     
    Yes, using vnc://hostname/ which works fine when the source computer is on the local network, but fails when it’s remote and through VPN.
     
    I’ve also tried routing all traffic through the VPN instead of just the remote network range - doesn’t help.
    0
    Comment actions Permalink
  • Avatar
    Firewalla

    Got it.  This is kind of strange for sure, vns:// is TCP / port 5900.  Can you ping your MAC while on VPN and see if it respond?  Mean while, I'll get someone to test this 

    0
    Comment actions Permalink
  • Avatar
    Ken Anderson

    Yes, no trouble pinging the target. In fact, I can SSH into the target without issue.

    0
    Comment actions Permalink
  • Avatar
    Firewalla Support

    Hi, 

    I tried in lab, with VPN connected via TunnelBlick, by typing vnc://hostname.lan I can access the VNC server.

    How do you set up the VNC server ? if you set up the VNC server on MAC via "system preference" > "screen sharing" ?  you need to follow the instruction in the screen sharing to set the vnc://hostname. 

    Pls see picture below. 

     

     

     

     

     

    0
    Comment actions Permalink
  • Avatar
    Ken Anderson

    This is exactly what I'm doing, using the hostname displayed on this panel.

    To be clear, it works perfectly well when both macs are on the same network with the Firewalla. No issues. Then I take the VPN mac off the network, connect to my phone hotspot, and connect via TunnelBlick.

    At this point, I can ping the name of the target machine as shown in the sharing panel, and I can also SSH to that machine. However, when I try to connect via screen share, I get an error that the connection is refused.

    I have tried both with all traffic going over the VPN, and with the typical configuration of just sending the VPN IP range.

    Again, screen share and SSH work when on the network, but when VPN'd, SSH works, screen share does not.

    0
    Comment actions Permalink
  • Avatar
    Firewalla

    Have you tried to VPN without using the hotspot?  Meaning, just VPN inside the same network.  Does that work?

    0
    Comment actions Permalink
  • Avatar
    Ken Anderson

    I hadn't, but I just did. Yes, that works.

    0
    Comment actions Permalink

Please sign in to leave a comment.