LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   iptables and remote desktop in fedora 3 (https://www.linuxquestions.org/questions/linux-security-4/iptables-and-remote-desktop-in-fedora-3-a-256759/)

lucas4ever 11-19-2004 04:26 AM

iptables and remote desktop in fedora 3
 
Hi,

I have Fedora Core 3 (Gnome) and i'm using Remote Desktop on port 0. This is no vnc server, this is remote desktop is built into FC3 and i don't know how to change this port. Also I don't know how to set my iptables correctly to open port 0 on my box. When i write 0:tcp in my iptables it doesn't work at all. When i go to iptables again there is no sign of 0:tcp :(

Please help me

[Sorry for my English]

Ambrosia 11-19-2004 05:46 AM

Ummm...as far as I know, there is no real port 0. If I recall correctly, they start at 1. Or port 0 was something verrry special. Try another port, perhaps it solves the problem with iptables. Look up the vnc documentation.

midnightrun 12-10-2004 02:15 AM

I just recently was able to use my FC3 machine's remote desktop on another PC in my home network.

The "0" you're referring to isn't actually a port number, but the number of the VNC server (or, in this case, the remote desktop) in the host you're connecting to. If you were accessing your FC3 machine remotely using a VNC viewer, you would enter "host:0" in the VNC viewer. If, for example, you had more VNC servers running on your FC3 machine, they would be accessible via "host:1", "host:2", etc.

What you'll need to do is open 59xx:TCP in your FC3 machine, where xx is the number of the VNC server. I'm also using FC3's built-in remote desktop (and also not running another VNC server). That would make my remote desktop number 0. So in my system, I opened up 5900:TCP, and everything worked.

Hope that helps.

lucas4ever 01-06-2005 02:37 AM

Re:
 
Thanks, it works now


All times are GMT -5. The time now is 09:16 PM.