I need help with how to set up router for NoMachine

Forum / NoMachine for Linux / I need help with how to set up router for NoMachine

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13524
    znomac
    Participant

    I want to use my Mac (macbook air) to remote login to my linux PC workstation that is on my home network. I have NoMachine working fine within my local network. When I try to connect from an outside network from Mac to Linux it just keeps trying to connect infinitely and I have to kill the app.

    I am not very knowledgeable about networking so I am hoping someone can help. I have tried searching the net and forums and they all seem to be something different than what I am doing. My router is set up so that I have reserved IP addresses from my DHCP for my Mac and my Linux box, so the IPs are not changing. I read that I needed to set up port forwarding to my linux box for this to work.

    1) Do I need port forwarding set up on my local router for all this to work from outside my home network?

    2) If 1) is yes, then what port to forward to? I have tried 4000, 4049 and others with same bad result.

    I have a netgear r6400 router, I do not have DDNS enabled.

    3) Do I need to have DDNS enabled for NoMachine to work from outside my home network? If so, that would be great thing to have in the instructions.

    The router does have UPnP and it is turned on.

    4) Does the host machine have to be configured on same port somehow as the port I am forwarding to assuming that is needed. If so, I need to know how to do that.

    5) I have the dfw disabled on the Linux machine so there is no firewall issue.

     

    Using free version on both machines and just installed both today. Version 5.1.62 (5.1.62)

    Linux box is PC intel x86 with ubuntu 14.04 installed. Not a virtual machine, only OS is Linux. Mac is MacBook Air 2012 OSX El Capitan

     

    #13541
    kroy
    Contributor

    1) Do I need port forwarding set up on my local router for all this to work from outside my home network?

    No if your router supports UPnP. If it’s enabled – IP and Port can be found on NoMachine “Welcome Page” in the NoMachine Player on that machine. Instructions how to connect to NoMachine when the server is behind a NAT router or a firewall you can find there: https://www.nomachine.com/AR11L00827.

    2) If 1) is yes, then what port to forward to?

    If your router doesn’t support UPnP – open a unique port for local IP of your PC on the router. Follow this post to find more instructions: https://www.nomachine.com/forums/topic/remote-with-no-upnp#post-9897.

    3) Do I need to have DDNS enabled for NoMachine to work from outside my home network?

    No. You don’t need have DDNS enabled.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.