Results 1 to 4 of 4
I'm trying to get VNC running on my server and I've read that most newer distros have VNC ports closed. I opened them in my APF firewall and ran a ...
- 05-13-2005 #1Just Joined!
- Join Date
- May 2005
- Location
- Austin, TX
- Posts
- 5
Opening a port in RHEL 3?
I'm trying to get VNC running on my server and I've read that most newer distros have VNC ports closed. I opened them in my APF firewall and ran a port scan and it showed them closed. I've searched and searched on Google and can't find this answer.
- 05-13-2005 #2Linux User
- Join Date
- Feb 2005
- Posts
- 290
depends on your network setup. a line in your firewall script to open up port 5900 could be as simple as
Code:iptables -A INPUT --dport 5900 -j ACCEPT
- 05-13-2005 #3Just Joined!
- Join Date
- May 2005
- Location
- Austin, TX
- Posts
- 5
Hmmm, I'm running APF firewall on it and opened 5901-5904. I ran nmap on it from my Windows machine and it says they are closed. Can I find out if the RedHat firewall that comes with RedHat is on? I'm doing everything from the command line.
PORT STATE SERVICE VERSION
20/tcp closed ftp-data
21/tcp open ftp ProFTPD 1.2.10
25/tcp open smtp
53/tcp open domain
80/tcp open http Apache httpd 2.0.46 ((Red Hat))
110/tcp open pop3
143/tcp open imap?
222/tcp open ssh OpenSSH 3.6.1p2 (protocol 1.99)
443/tcp open ssl OpenSSL
465/tcp open ssl OpenSSL
993/tcp open ssl OpenSSL
995/tcp open ssl OpenSSL
3306/tcp open mysql MySQL (unauthorized)
5901/tcp closed vnc-1
5902/tcp closed vnc-2
5903/tcp closed vnc-3
8443/tcp open http Apache httpd 1.3.33 ((Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10)
10000/tcp closed snet-sensor-mgmt
- 05-14-2005 #4Linux User
- Join Date
- Feb 2005
- Posts
- 290
sure, try service iptables status to see if redhat's default firewall is running, or service iptables stop to stop it. Redhat's firewall configuration tool (lokkit) only provides simple options like allow SSH, HTTP, and a few other famous protocol. Just stop it for testing purpose and get your VNC running ...
good luck


Reply With Quote
