LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   firewall (https://www.linuxquestions.org/questions/linux-newbie-8/firewall-801483/)

nagavinodh 04-12-2010 02:14 AM

firewall
 
Hi,

We installed the red hat 4.2 in vmware.How to check the firewall is enable in that machine.How to turn on/off.Can i restrict the particular ip.

Sayan Acharjee 04-12-2010 02:18 AM

Quote:

Originally Posted by nagavinodh (Post 3932552)
Hi,

We installed the red hat 4.2 in vmware.How to check the firewall is enable in that machine.How to turn on/off.Can i restrict the particular ip.

To check if firewall is turned on or off use thge following command:
Quote:

#service iptables status
To view the implemented firewall rules:
Quote:

#iptables -L
To turn off firewall:
Quote:

#service iptables stop
And yes you can restrict a particular ip according to your wish.


All times are GMT -5. The time now is 11:39 AM.