Results 1 to 4 of 4
Allrite, I've got a problem.
I want to forward a port 5900 for VNC.
Which rules do i need to enable in my firewall to get this to work?
it's ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-27-2004 #1Linux Newbie
- Join Date
- Dec 2003
- Location
- Netherlands
- Posts
- 193
Portforwarding VNC
Allrite, I've got a problem.
I want to forward a port 5900 for VNC.
Which rules do i need to enable in my firewall to get this to work?
it's not that easy to find good answers about it.
Thanks allready
L33T Speek removed by moderatorComputers Are Like Air Conditioners... They\'re both useless with Windows open!
- 04-27-2004 #2Just Joined!
- Join Date
- Apr 2004
- Posts
- 10
Are you talking about ssh port forwarding?
You would do this.
ssh -L 5900:VNCServer:5900 user@sshserver
you would then point your vncviewer at localhost. The session will go through the sshserver and then connect to the VNC Server
HTH
- 04-29-2004 #3Linux Newbie
- Join Date
- Dec 2003
- Location
- Netherlands
- Posts
- 193
No. I've got alot of clients with VNC Server on it. But I work athome, so I need to connect sometimes to other servers through my Firewall without ssh
Computers Are Like Air Conditioners... They\'re both useless with Windows open!
- 04-29-2004 #4You'll need an open port for each of the servers you want to connect to.
Originally Posted by Mystic_Slayer
So that's basicaly 5900 for the first, 5901 for the second, etc, etc.
These open ports will show up on a portscan on you firewall.
It's better to use SSH tunneling to you firewall and then use a VNC forwarder from there to the various systems.
I know that it's a bit slower, but it gives you far more security.
There is a program available that runs like a 'terminal server' to multiple vnc servers. Can't remember the name though, try google.
If you still want to open the ports let me know, I'll post the iptables rules for it.---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.


Reply With Quote
