Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restricting Port access

Status
Not open for further replies.

mdraja

Programmer
Oct 14, 2003
44
GB
Hi
I would like to restrict users to only using SSH (port 22) to connect to VNC (port 5901). How can I prevent users logging in directly to port 5901 and force them to go through ssh?

Any help greatly appreciated
 
Sorry forgot to mention that I cannot block this port on the firewall.
 
Put up a local firewall on the VNC server so that external access to the port is disallowed, but local access is allowed.

Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
Any suggestions on websites/documents where help is provided in setting this up?
 
OK, bcastner threw out "tunneling", so I will advocate

OpenVPN

For the firewall itself, use Jay's Firewall

They're both easy, friendly, and super functional.

Full disclosure: I use them, but am not affiliated with them or their developers.


Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
only problem is that the server where VNC sits is on an AIX box and not Windows. Unfortunately, IPSec is not filtering as I would like.. any other ideas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top