LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Does my computer have firewall? (http://www.linuxquestions.org/questions/red-hat-31/does-my-computer-have-firewall-4175415838/)

AlexFr 07-10-2012 02:30 AM

Does my computer have firewall?
 
Sorry for stupid question, but I need to know, whether my RHEL 5.8 has active firewall. I didn't install any firewall, does RedHat has built-in firewall? If yes, how can I check, whether it is enabled or not?

acid_kewpie 07-10-2012 03:02 AM

the Linux kernel contains NetFilter which is the "firewall" functionality. It is tuned and configured using the iptables tool. You have it. As to it running or not, run "service iptables status" to check, and also list the current rulebase (stored in /etc/sysconfig/iptables) by running "iptables -vnL". You can use the system-config-firewall or security-config-securitylevel (it changed between RHEL versions but I forget which one you'll have) to do *very* basic changes to it.

AlexFr 07-10-2012 03:39 AM

Thank you.

Code:

[alex@localhost ~]$ service iptables status
Firewall is not configured.

Just to be sure: does this mean, that firewall is not active?

AlexFr 07-10-2012 03:56 AM

I found System - Administration - Security Level and Firewall command, it allows to enable/disable firewall.


All times are GMT -5. The time now is 03:16 AM.