Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26th February 2008, 06:39 PM
realvz Offline
Registered User
 
Join Date: Feb 2008
Posts: 15
Iptable Rule

alright i am connected to a machines miles away through ssh and i need to vnc into my machine. I have already configured the firewall to allow ssh but forgot about opening 5900 port, so i cannot tunnel vnc through ssh now.
I need the rule to open port 5900 from anywhere, without loosing my firewall (the default one that comes for F8) the next time i use it.

Thanks.
Reply With Quote
  #2  
Old 26th February 2008, 08:29 PM
sauny's Avatar
sauny Offline
Registered User
 
Join Date: Aug 2007
Posts: 28
iptables -A INPUT -m state --state NEW,ESTABLISHED,RELATED -p tcp --dport 5900 -j ACCEPT
Reply With Quote
  #3  
Old 26th February 2008, 09:31 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
You can also vnc over ssh as well. Google for vnc over ssh for help there. it would be a bit more secure this way. This way you only have one port open to maintain for vulneriblities.

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
Reply

Tags
iptable, rule

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptable manojg Security and Privacy 1 28th August 2009 09:21 PM
iptable error? egneus Using Fedora 0 26th April 2006 04:18 AM
iptable troubles collapse Security and Privacy 4 14th April 2006 07:54 PM


Current GMT-time: 14:48 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat