-   Linux - Networking (
-   -   Fedora Core 9 Firewall (

requem4infantry 08-15-2008 05:33 PM

Fedora Core 9 Firewall
Hello all,

So I recently set up Fedora core 9 on a dell optiplex GX260 as a test box on my LAN. I wanted to experiment with VNC, ssh, and have the box sit on my network as an FTP server. I was able to set up the SSH and FTP from my main box but when I set up vnc I ran into some problems. I can VNC from the linux box onto my main box no problem. The main in running windows XP pro. But when I go to vnc into the linux box from my main I get "connection refused". Now I have played around with the firewall on the linux box and I have added the VNC ports onto the trusted list. But when I do a netstat -a the ports do not appear.

After playing around with the firewall on the linux box when I go to VNC into it from the main I get "no route to host". However I can still ping it just fine.

I am using ports 5900, 5901, 5800, 5801 tcp and udp

Here is my netstat -a

unix 3 [ ] STREAM CONNECTED 6962
unix 3 [ ] STREAM CONNECTED 6941 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 6940
unix 3 [ ] STREAM CONNECTED 6924 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 6923
unix 2 [ ] DGRAM 6898
unix 2 [ ] DGRAM 6867
unix 3 [ ] STREAM CONNECTED 6767
unix 3 [ ] STREAM CONNECTED 6766
unix 3 [ ] STREAM CONNECTED 6709
unix 3 [ ] STREAM CONNECTED 6708
unix 2 [ ] DGRAM 6465
unix 3 [ ] STREAM CONNECTED 6305
unix 3 [ ] STREAM CONNECTED 6304

that is abridged but that is where it ends. With port 6304.

Thanks for any help,


clsgis 08-16-2008 01:06 PM

try asking more clearly
I don't know what

VNC from the linux box onto my main box
means. Which box is running the vnc server and which box is running the viewer? Which box ran the netstat? Can the linux box view its own vncserver? Can the Windows box do that?


After playing around with the firewall
Don't "play around" with netfilter. Let some package like firestarter set it up for you and don't change anything you don't yet understand. Please show the output of


  ps axw| grep -i vnc
  route -n
  iptables -L INPUT
  iptables -L OUTPUT
  iptables -L FORWARD

If more tables are mentioned in those tables, list them too.

All times are GMT -5. The time now is 10:25 AM.