Connecting to NX from a remote network

Soldato
Joined
1 Mar 2003
Posts
5,508
Location
Cotham, Bristol
So I've managed to connect to my linux box using NX server and NX client on my Vista laptop, all this works very well when both machines are on the same network.

But how do I get the same connection to work from a remote network? I presume my linux box needs to have an external IP address that can be accessed over the internet. But how does this work?

Suggestions please?
 
Assuming you're using NAT, you would need to do port forwarding on the router that the linux machine is behind. E.g. if you want to connect to the web server running on the linux machine, you'll forward port 80.
 
Also make sure you allow the service access through TCP Wrappers if you're using them.

Edit /etc/hosts.allow, and add the line:
sshd: ALL

or change ALL to an IP address to lock it down futher. I think SSH is all you need open for NX, may be wrong though.
 
Back
Top Bottom