Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-06-2006, 08:46 AM
|
#1
|
|
Member
Registered: Jan 2006
Distribution: FC5, Ubuntu
Posts: 126
Rep:
|
VNC and iptables in FC4
So, after disappointed attempt at FC5 (32 bit wouldn't boot up for me, and 64 bit had too many problems. Plus no flash. No homestar? No OS), I reinstalled FC4. Almost back to normal except with VNC. This shouldn't be too difficult b/c it connects correctly if iptables is stopped, so the problem is in iptables. Gasp. I've tried a few things with no success. What do I need to do?
|
|
|
|
07-06-2006, 11:00 AM
|
#2
|
|
Member
Registered: Apr 2006
Location: Finland
Distribution: Ubuntu, Gentoo, Debian
Posts: 88
Rep:
|
You must open the ports from iptables to allow the vnc service.
Myself, I'm a noob with iptables and im using a Firestarter GUI.
You can try it or wait for someone with iptables knowledge will answer 
|
|
|
|
07-06-2006, 11:28 AM
|
#3
|
|
Member
Registered: Jan 2006
Distribution: FC5, Ubuntu
Posts: 126
Original Poster
Rep:
|
Well, I do use firestarter, but I think I had opened 5901 already(5900+1 for :1 display). Also, I'm at work connected through ssh for now. I do have a linux box running, so if someone could explain how to get ssh -X to work, that would work as well.
|
|
|
|
07-06-2006, 02:10 PM
|
#4
|
|
Member
Registered: Jan 2006
Distribution: FC5, Ubuntu
Posts: 126
Original Poster
Rep:
|
Well, when I tried before, ssh -X did not work. I tried again, and it worked, albeit slowly. However, it was enough to open firestarter to open port 5901 (only 5900 was open). So, I'm set, but what should I have done to change it directly in iptables?
|
|
|
|
07-06-2006, 02:19 PM
|
#5
|
|
Member
Registered: Apr 2006
Location: Finland
Distribution: Ubuntu, Gentoo, Debian
Posts: 88
Rep:
|
Google revealed me an example command and I think it should be like:
Code:
iptables -A INPUT -s sourceip -j ACCEPT -p tcp --destination-port 5900
Not sure will this work but I think it should  Just change the sourceip
Last edited by Fadoksi; 07-06-2006 at 02:25 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|