how to know if firewall on?

Rick Stevens rstevens at vitalstream.com
Thu Jan 12 18:14:14 UTC 2006


On Thu, 2006-01-12 at 09:53 -0800, mike wrote:
> iptables is not a command on my linux box.  is it located somewhere i
> can run it or can i do a differnt way?

Oh, yes it is.  You have to be the root user to use it.  Either log in
as root or, as a normal user, use the command "su -" and give it
the root password.  You then become the root user.

Do the commands you need.  When it's time to stop being the root user,
type in "exit" and you become the normal user again.  DON'T REMAIN AS
THE ROOT USER ANY LONGER THAN YOU HAVE TO!  You can do a lot of damage
to your machine if you're root and you're not careful!

> 
> On 1/12/06, Rick Stevens <rstevens at vitalstream.com> wrote: 
>         On Thu, 2006-01-12 at 07:39 -0800, mike wrote:
>         > i have some sort of communication between a windows client
>         and my 
>         > linux box that is failing, and i want to check if this is a
>         firewall
>         > issue.  how do i do this on my linux box?
>         
>         You can see if the firewall on Linux is running by using the
>         command:
>         
>                iptables -L -n 
>         
>         as the root user.  If you see any rules displayed, then the
>         firewall is
>         running.  To turn it off temporarily, use the command
>         
>                service iptables stop
>         
>         as the root user.  To turn it on again:
>         
>                service iptables start
>         
>         as the root user.
>         ----------------------------------------------------------------------
>         - Rick Stevens, Senior Systems Engineer
>         rstevens at vitalstream.com -
>         - VitalStream, Inc.
>         http://www.vitalstream.com -
>         -                                                                    -
>         -     Better to understand a little than to misunderstand a
>         lot.     -
>         ----------------------------------------------------------------------
>         
>         _______________________________________________
>         Redhat-install-list mailing list 
>         Redhat-install-list at redhat.com
>         https://www.redhat.com/mailman/listinfo/redhat-install-list 
>         To Unsubscribe Go To ABOVE URL or send a message to:
>         redhat-install-list-request at redhat.com
>         Subject: unsubscribe
> 
> 
> 
> -- 
> There are 10 types of people, those who understand binary and those
> who don't. 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-        Brain:  The organ with which we think that we think.        -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list