Results 1 to 10 of 16
how exactly do you use IPtables, i have a book called "Redhat Linux 8 for Dummies" and it is going on about creating a firewall and says to type iptables ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-13-2003 #1Linux Newbie
- Join Date
- Feb 2003
- Location
- Swansea (UK)
- Posts
- 221
Iptables
how exactly do you use IPtables, i have a book called "Redhat Linux 8 for Dummies" and it is going on about creating a firewall and says to type iptables but when i do it says "iptables: not found"
why is this and how can i sort it ?
- 02-13-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Are you sure you're root?
- 02-14-2003 #3Linux Newbie
- Join Date
- Feb 2003
- Location
- Swansea (UK)
- Posts
- 221
yep
- 02-14-2003 #4Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
orCode:export PATH=$PATH:/sbin
or just login as root from the consoleCode:su -
- 02-14-2003 #5Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Also check with "rpm -q iptables" so that it's really installed.
- 02-15-2003 #6Linux Newbie
- Join Date
- Feb 2003
- Location
- Swansea (UK)
- Posts
- 221
done that, it is installed
- 02-17-2003 #7Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
rpm -ql iptables | grep bin
I respectfully decline the invitation to join your delusion.
- 02-23-2003 #8Linux Newbie
- Join Date
- Feb 2003
- Location
- Swansea (UK)
- Posts
- 221
i did :
and that worked but when i typeCode:rpm -q iptables | grep bin
it says "Command not found"Code:iptables
why is this and what do i do ?
- 02-23-2003 #9Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Did rpm -ql iptables | grep bin give you any output? (Please note -ql, not just -q)
- 02-23-2003 #10Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
It is probably not in your path. Do what I said earlier and it will work.


Reply With Quote
