My goal is to connect over WAN to a Windows VM via RDP. The problem is that my new router HG633, does not detect the VMs as connected devices, therefore direct port forwarding to them doesn't work. (NOTE: the VMs have network access via the same router).

So I need a workaround to my issue by the more experienced users.

Host OS: OSX 10.11.6 / VMware Fusion 8 / Guest OS: Windows Server 2008 (Using Bridged Network configuration).

  1. Can I port forward external connections to OSX and then redirect the connection to my VM via RDP?
  2. Or can I somehow tunnel it via SSH?

Please help, thanks in advance.

  • When you say "detect" what exactly do you mean? Most routers simply have you point a port to an IP.
    – user186658
    Sep 26, 2016 at 18:36
  • In regards to this router HG633 it needs to detect a device as it is connected to the subnet, and only then you have the option to make a port forwarding rule for it. In other routers it is flexible and simple just input the IP for the forwarding but it is not possible with the HG633.
    – anglojojo
    Sep 27, 2016 at 12:42
  • Is the VM using DHCP?
    – user186658
    Sep 27, 2016 at 15:32
  • Nope, all internal static addresses.
    – anglojojo
    Sep 27, 2016 at 19:12
  • If you figured out how the router is querying devices you could work from there. It could be an issue of the VMWare bridge blocking LAN broadcasts.
    – user186658
    Sep 27, 2016 at 19:32

1 Answer 1


An SSH tunnel would be easiest. To tunnel to the OS X machine from the WAN, over SSH, your command will look something like this:

ssh -L 9998:localhost:3389 user@yourdomain

You'll need port forwarding set up on your router to forward port 22 (SSH) to the OS X machine.

Once you've made the SSH connection that sets up the tunnel, connect to localhost on port 9998 with your RDP client.

  • Thanks for the input, however, it is not working for me.
    – anglojojo
    Sep 27, 2016 at 19:12
  • I managed to forward port 22 to the OSX host, however, the tunnel part is failing on me. Do I need to have an SSH server on the Windows Server which I want to RDP to?
    – anglojojo
    Sep 27, 2016 at 19:18
  • If on the OS X machine running the VM, you connect to localhost on port 3389 for RDP, then on the machine connected with SSH, you would connect to localhost on port 9998 after setting up the tunnel. How do you connect to RDP locally on the OS X machine hosting the VM? Sep 27, 2016 at 20:28
  • No, I want to connect over WAN, from a Windows RDP Client to the Windows VM hosted on the OSX. I don't want to connect to the VM locally.
    – anglojojo
    Sep 27, 2016 at 20:36
  • If you can't connect locally on the OS X machine, you can't tunnel to the RDP server. Tunnelling makes a port on the remote machine available as a local port on the local machine. Sep 27, 2016 at 20:44

Your Answer

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 or ask your own question.