LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-15-2008, 05:33 PM   #1
requem4infantry
LQ Newbie
 
Registered: Oct 2005
Location: Albany,NY
Distribution: Fedora Core 9
Posts: 1

Rep: Reputation: 0
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,

Bryan
 
Old 08-16-2008, 01:06 PM   #2
clsgis
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Rep: Reputation: 1
try asking more clearly

I don't know what
Quote:
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?

Quote:
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

Code:
  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.
 
  


Reply

Tags
fedora, firewall, vnc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on IPTABLES on Fedora Core 4 Firewall jun_tuko Linux - Security 3 10-20-2005 03:43 PM
Firewall / Fedora Core xXNecrosXx Linux - Security 3 08-29-2005 10:52 PM
Fedora Core 3 Firewall treebug Linux - Security 2 03-22-2005 11:43 PM
firewall within fedora core 2 psa Linux - Newbie 3 09-03-2004 11:13 AM
Setup firewall Fedora Core 2 satimis Linux - Security 2 07-30-2004 06:16 AM


All times are GMT -5. The time now is 02:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration