How to connect to a Linux box on port 3389 (RHEL5)
Unfortunately, port 22 is blocked by many firewalls and tunnels may open security holes so the best approach is to set ssh and NX to listen on port 3389 instead of the standard 22 which may confuse the majority of hackers
Configure OpenBSD to listen to port 3389
vim /etc/ssh/sshd_config
Port 3389
service sshd restart
Download NX Client for Windows to the RHEL ftp site
wget http://64.34.173.142/download/3.5.0/Windows/nxclient-3.5.0-9.exe
Download NX Free Edition for Linux
wget http://64.34.173.142/download/3.5.0/Linux/nxclient-3.5.0-7.i386.rpm
wget http://64.34.173.142/download/3.5.0/Linux/nxnode-3.5.0-9.i386.rpm
wget http://64.34.173.142/download/3.5.0/Linux/FE/nxserver-3.5.0-11.i386.rpm
As root - Install NX in this order
rpm –ivh nxclient-3.5.0-7.i386.rpm
rpm –ivh nxnode-3.5.0-9.i386.rpm
rpm –ivh nxserver-3.5.0-11.i386.rpm
Configure NX for port 3389
vim /usr/NX/etc /node.cfg
#
# Specify the TCP port where the NX node SSHD daemon is running.
#
SSHDPort = "3389"
vim /usr/NX/etc /server.cfg
#
# Specify the TCP port where the NX server SSHD daemon is running.
#
SSHDPort = "3389"
service nxsensor restart
nxserver --daemon restart
Your company doesn't provide some kind of vpn access? – Keith – 2011-04-22T17:19:59.317