LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2009, 02:43 AM   #1
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Rep: Reputation: 30
Inquiry:iptables ?


Dear All
To open a port , I know that I need to go to "System -> Administration -> Security Level and Firewall" -> Other ports and then I can open port-5901 as tcp protocol . Can you please do me favor and let me know how it can be done from the command line (if my Linux OS is text-mode installed) ? (perhaps via iptables?)
Let me thank you in advance
 
Old 10-31-2009, 08:22 AM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
Huh?

I don't know, what system uses the menu you describe, but it's generally a bad idea to tamper with firewall scripts you know nothing about. So either do it the way it is designed or be prepared to write a new firewall script from scratch.
 
Old 10-31-2009, 08:25 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Take a look at
http://www.linuxhomenetworking.com/w...Using_iptables

BTW, the conf you use is just a GUI to configure iptables.

Last edited by repo; 10-31-2009 at 08:26 AM.
 
  


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
feature inquiry evrgreen Linux - General 5 05-04-2009 08:59 AM
Spamassassin inquiry depam Linux - Software 5 10-28-2006 06:54 AM
Squid inquiry ImAnEwBiE Linux - Newbie 1 10-26-2006 04:19 AM
very basic inquiry ixion Programming 1 10-17-2003 11:53 AM
fluxbox inquiry pathogenik Linux - General 12 07-14-2002 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration