iptabels command not found

General discussion about PLUC and Linux in Pakistan.
Post Reply
muddasirmeraj
Lance Naik
Posts: 22
Joined: Mon Jan 30, 2006 10:45 am
Contact:

iptabels command not found

Post by muddasirmeraj »

Hi,
i am try to iptables command in terminal but the error come

command not found

thanks,
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Post by kbukhari »

probably u r not loged on as root

for beaing root use
su -
and give it password of root account
iptables command wont work as normal user
if u r as root and same thig happing than tell me wich OS ur using ?
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: iptabels command not found

Post by LinuxFreaK »

Dear muddasirmeraj,
Salam,
muddasirmeraj wrote:i am try to iptables command in terminal but the error come command not found
Run below file as root.

# rpm -qa | grep iptables

Best Regards.
Farrukh Ahmed
crazy_frog
Naik
Posts: 72
Joined: Fri Dec 16, 2005 9:44 am
Location: Karachi, Pakistan
Contact:

Post by crazy_frog »

However, its good to check whether iptables is installed on your system or not, usually iptables is installed by default on all server/workstation installations.
Hâve á nice day !!
Post Reply