LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-14-2006, 04:13 AM   #1
ishcoleobo
LQ Newbie
 
Registered: Dec 2005
Posts: 27

Rep: Reputation: 15
Getting VNC through IP Tables


Quick question...

I'm trying to get VNC to work with my IPTables firewall. I am running VNC over xinetd on port 5908.

I've been trying....

iptables -A INPUT -i eth0 -d 0/0 -p tcp --dport 5908 -j ACCEPT

Not working. Any help?
 
Old 10-14-2006, 04:38 AM   #2
zsoltrenyi
Member
 
Registered: May 2004
Distribution: redhat, trustix, debian
Posts: 103

Rep: Reputation: 15
check out your outgoing filters also
can you connect with firewall disabled? maybe it's xinetd causing problems
try to stop your firewall or if you can't do that permit everything between the 2 machines
 
Old 10-16-2006, 12:00 AM   #3
ishcoleobo
LQ Newbie
 
Registered: Dec 2005
Posts: 27

Original Poster
Rep: Reputation: 15
What I ended up doing was only leaving port 22 open... and tunneling with ssh to get to port 5908. Seems like a more secure solution anyways.
 
  


Reply


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
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 10:38 AM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 01:06 AM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 11:02 AM
IP TABLES help chrisfirestar Linux - Networking 2 10-29-2003 01:24 PM
VNC - Selecting different WindowManagers with VNC cmfarley19 Linux - Software 0 04-16-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration