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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
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.
|
|
|
All times are GMT -5. The time now is 03:58 AM.
|
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
|
|