LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Configure FC1 firewall in command line (https://www.linuxquestions.org/questions/linux-security-4/configure-fc1-firewall-in-command-line-265702/)

codyz062003 12-12-2004 07:51 PM

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.

michaelk 12-12-2004 09:05 PM

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.


All times are GMT -5. The time now is 11:12 PM.