LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-31-2004, 09:15 AM   #1
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Rep: Reputation: 32
iptables


Hello,

I hope someone would reply to this as non of my other questions are getting answered.

I am trying to configure my firewall using iptables. When I type in
iptables -L as root I get

bash: iptables: command not found

Additionally I would like to know how to network my redhat 9 to a win2k machine.

Both NIC's are configured. I am trying to use DHCP to automatically detect everything.

Many thanks in advance
 
Old 07-31-2004, 09:21 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Please confirm you have iptables installed

#rpm -q iptables

If you get a response like iptables-1.xxx, iptables is installed .. good.

Try /sbin/iptables -L. Suggest you use /sbin/iptables -vL as this will give you the rules in more detail.

If /sbin/iptables works, have you used su as in

#su <ENTER>

if so, next time on, use

#su - <ENTER> (that is su with a - (hyphen) as a parameter)

With plain su, the current user's environment (PATH, etc) are used. A normal user account does not have /sbin in his(er) path. With su -, root's environment is read and properly set.

Last edited by ppuru; 07-31-2004 at 09:25 AM.
 
Old 07-31-2004, 10:44 AM   #3
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
iptables

/sbin/iptables -L worked fine. Thanks.

I will let you know how I get configuring my firewall.

I hope I can get as good replies to my screen resolution issues and how to get Red Hat see Win2k machine using dhcp

Last edited by siawash; 07-31-2004 at 10:50 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 05:25 AM
Iptables - Couldn't load target `ACCPET':/lib/iptables/libipt_ACCPET.so: z00t Linux - Security 3 01-26-2004 02:24 AM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06:08 AM
iptables book wich one can you pll recomment to be an iptables expert? linuxownt Linux - General 2 06-26-2003 04:38 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration