LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2004, 04:26 PM   #1
imsam
Member
 
Registered: Dec 2003
Posts: 64

Rep: Reputation: 15
Question How can I check for iptables?


Hi,

When I installed Linux I chose "No Firewall" option so that I would go through the process of installing and setting a firewall.

So my question is how do I know if iptables is installed or not?

When I type service iptables status, I get "Firewall is stopped". When I type iptables start, I get "Bad argument". When I type service iptables start, nothing happens.

I could use some help here.
 
Old 11-02-2004, 04:49 PM   #2
imsam
Member
 
Registered: Dec 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Is version 1.2.8 the latest?

Hi,

I figured out that iptables is installed on my test linux server. It tells me I have version 1.2.8? Is this the latest version? If not, how do I get the latest or most stable version?

By the way, I'm running Scientific Linux.
 
Old 11-02-2004, 04:49 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
iptables -L
will list the rules.
If the firewall is inactive you should see:
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Cheers,
Tink
 
Old 11-02-2004, 04:52 PM   #4
imsam
Member
 
Registered: Dec 2003
Posts: 64

Original Poster
Rep: Reputation: 15
It is inactive

Hi Tink,

That's exactly what I'm getting. So the firewall is inactive. How do I activate it?
 
Old 11-02-2004, 04:54 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
By creating rules, I suppose ...


man iptables
for details ;)

Or have a look at the scripts on
http://www.linuxguruz.com/iptables/


Cheers,
Tink
 
Old 11-02-2004, 04:55 PM   #6
imsam
Member
 
Registered: Dec 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks

Thanks Tink!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can someone check my Iptables script fotoguy Linux - Security 2 01-25-2005 01:32 AM
check my iptables iqbal Linux - Networking 7 08-30-2004 07:53 AM
iptables won't let packets in - check please? Simon Bridge Linux - Security 3 01-26-2004 02:49 PM
iptables won't let packets in - check please? Simon Bridge Linux - Security 1 01-23-2004 10:26 PM
IPTables Sanity Check Crashed_Again Linux - Networking 3 03-06-2003 09:49 PM


All times are GMT -5. The time now is 02:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration