Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Robert Spangler
On Wednesday 23 January 2008 17:58, John R Pierce wrote:

>  >
>  > It is most likely installed as this is default unless you tell the
>  > install program not to install it.
>  >
>  > To start IPTALBES:
>  >
>  >  service iptables start
>  >
>  > To ensure it starts all the time on reboot:
>  >
>  >  chkconf --level 2345 iptables on
>
>  that doesn't actually 'start iptables', rather that sets it so the
>  system firewall scripts are run at startup.

Step 2 you are correct but you failed to look at step 1 which DOES START the 
firewall.


-- 

Regards
Robert

Smile... it increases your face value!
Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread John R Pierce

Robert Spangler wrote:

On Wednesday 23 January 2008 06:25, Tolun ARDAHANLI wrote:

  

 in our server we dont have "iptables" command! and i am trying to install
it with that

 yum -y install iptables

 after this command it says that "...nothings to do". Do you have any
 suggestion for installing the iptables?

 thanks a lot



It is most likely installed as this is default unless you tell the install 
program not to install it.


To start IPTALBES:

 service iptables start

To ensure it starts all the time on reboot:

 chkconf --level 2345 iptables on
  



that doesn't actually 'start iptables', rather that sets it so the 
system firewall scripts are run at startup.


/sbin/iptables isn't actually a service, its a command line tool for 
manipulating and displaying the kernel firewall rule tables.the 
/etc/init.d/iptables 'service' script runs the rules scripts in 
/etc/sysconfig/iptables and -config files, which in turn are configured 
by lokkit or whatever.



anyone building custom firewall rules, with smoothwall or whatever, will 
probably use a different startup script...  I frequently call mine 
/etc/rc.d/rc.firewall and invoke it from my own /etc/init.d/firewall 
'service' entry.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Robert Spangler
On Wednesday 23 January 2008 06:25, Tolun ARDAHANLI wrote:

>  in our server we dont have "iptables" command! and i am trying to install
> it with that
>
>  yum -y install iptables
>
>  after this command it says that "...nothings to do". Do you have any
>  suggestion for installing the iptables?
>
>  thanks a lot

It is most likely installed as this is default unless you tell the install 
program not to install it.

To start IPTALBES:

 service iptables start

To ensure it starts all the time on reboot:

 chkconf --level 2345 iptables on


-- 

Regards
Robert

Smile... it increases your face value!
Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Daniel de Kok
On 1/23/08, Tolun ARDAHANLI <[EMAIL PROTECTED]> wrote:
> in our server we dont have "iptables" command! and i am trying to install it
> with that
>
> yum -y install iptables
>
> after this command it says that "...nothings to do". Do you have any
> suggestion for installing the iptables?

Then it's probably installed, which you can check with:
rpm -q iptables

Note that iptables is in /sbin. So, if you are changing to root, use
su with a dash (-) to make sure that the PATH variable is updated:

su -

If not, you'll have to specify the full path to the iptables command.

-- Daniel
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Ralph Angenendt
Tolun ARDAHANLI wrote:
> Hi;
> 
> in our server we dont have "iptables" command! and i am trying to install it
> with that
> 
> yum -y install iptables
> 
> after this command it says that "...nothings to do". 

What does "ls -l /sbin/iptables" say? What is the output of "rpm -q
iptables"?

If both of those come back with nothing:

What is the output of "uname -a"?

Cheers,

Ralph


pgpiiutuTWbdM.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Why iptables are not working?

2008-01-23 Thread Tolun ARDAHANLI
Hi;

in our server we dont have "iptables" command! and i am trying to install it
with that

yum -y install iptables

after this command it says that "...nothings to do". Do you have any
suggestion for installing the iptables?

thanks a lot

Note:
CENTos 5.1 is istalled...

-- 
Tolun ARDAHANLI
Bilgisayar Muhendisi
E-posta:[EMAIL PROTECTED]
Icq:326600



Tolun ARDAHANLI
Computer Engineer
E-mail:[EMAIL PROTECTED]
Icq:326600
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos