LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-12-2004, 07:51 PM   #1
codyz062003
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Question Configure FC1 firewall in command line


Hi,

I'm setting up an apache web server on a Fedora box, i have the firewall enabled but i need to open another port besides port 80. Im not using an x windows system so i can't use the GUI utility that comes with Fedora. Ive tried looking for an answer online but everything i found was GUI related.

Thanks.
 
Old 12-12-2004, 09:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,691

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
You need to configure apache to run on the desired port.
I am also guessing that you want to add a rule to accept traffic on that port.

iptables -A INPUT -p tcp --dport xxxx -j ACCEPT

Where xxxx is the desired port number.
 
  


Reply



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
Who to configure eth0 to use dhco from command line waelaltaqi Linux - Networking 3 11-18-2005 06:36 PM
No /.configure command not found ? RH9, FC1 N A. Osborne Linux - Newbie 1 03-14-2005 11:54 AM
Disabling Firewall From Command Line Ben Sytko Red Hat 4 02-16-2004 05:27 PM
configure x from command line? tumnus Linux - Newbie 5 02-13-2003 05:32 PM
configure lucent win modem at command line rioguia Linux - Hardware 1 01-26-2003 07:39 AM

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

All times are GMT -5. The time now is 05:19 AM.

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