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 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
On 1/23/08, Tolun ARDAHANLI tolun.ardahanli@linux.org.tr 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
hi; the output of those commands are listed below... but i see that i cant reach to iptables if i am opening a console in Gnome(however i give su- command but still was the same problem)... But if I am opening directly the console with pressing ctrl+f1 and giving root and password of it than i can use iptables command!!!
# ls -l /sbin/iptables -rwxr-xr-x 1 root root 57408 Jan 6 2007 /sbin/iptables # rpm -q iptables iptables-1.3.5-1.2.1
thanks to all
2008/1/23, Tolun ARDAHANLI tolun.ardahanli@linux.org.tr:
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:tolun.ardahanli@linux.org.tr Icq:326600
Tolun ARDAHANLI Computer Engineer E-mail:tolun.ardahanli@linux.org.tr Icq:326600
--- Tolun ARDAHANLI tolun.ardahanli@linux.org.tr wrote:
hi; the output of those commands are listed below... but i see that i cant reach to iptables if i am opening a console in Gnome(however i give su- command but still was the same problem)... But if I am opening directly the console with pressing ctrl+f1 and giving root and password of it than i can use iptables command!!!
# ls -l /sbin/iptables -rwxr-xr-x 1 root root 57408 Jan 6 2007 /sbin/iptables # rpm -q iptables iptables-1.3.5-1.2.1
thanks to all
2008/1/23, Tolun ARDAHANLI tolun.ardahanli@linux.org.tr:
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:tolun.ardahanli@linux.org.tr Icq:326600
----------------------------------------------------------------------------
Tolun ARDAHANLI Computer Engineer E-mail:tolun.ardahanli@linux.org.tr Icq:326600
-- Tolun ARDAHANLI Bilgisayar Muhendisi E-posta:tolun.ardahanli@linux.org.tr Icq:326600
----------------------------------------------------------------------------
Tolun ARDAHANLI Computer Engineer E-mail:tolun.ardahanli@linux.org.tr Icq:326600
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hello,
It looks like you did not put a space between the su and dash. It should be su - not su- this should solve your su problems.
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
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.
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.