LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-02-2006, 03:11 AM   #1
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
mandriva 2005 - firewall


Hi There - as a newbie, could someone help with this question please.

What commands at the console can I issue to check or make sure my firewall (shorewall, I think) is up and running and all is ok with the system.

I have implemented the commands thru the 'System Configuration' method, but would like to check all is well.

Hope this does not sound to silly a question and someone could help with this.

Thanks in advance.
 
Old 08-02-2006, 01:39 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
if it's a stand-alone box:
Code:
iptables -L -v -n
if it's a router/gateway:
Code:
iptables -L -v -n

iptables -L -t nat -v -n
 
Old 08-02-2006, 02:40 PM   #3
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Thanks for your reply - as root have typed iptables, but bash comes back -
#command not found - so guess I do not have the iptables loaded. Will look for that software and install it, then try your instructions.
Thanks again for your help. Will get come back with the results. Good luck.
 
Old 08-02-2006, 06:32 PM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
also try '/sbin/iptables' and '/usr/sbin/iptables' instead of just plain 'iptables'

Chances are you actually have it but it wasn't in your path when you typed it.
 
Old 08-04-2006, 08:28 AM   #5
MoMule
Member
 
Registered: Jul 2006
Posts: 134

Rep: Reputation: 15
Shorewall

...or you might type:

service shorewall check which will check your configurations and let you know if there are any problems...

Deion "Mule" Christopher
 
Old 08-04-2006, 02:23 PM   #6
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Thank you MoMule for the info - typed the command you advised and it came back -
#Shorewall service not found
Just going back to 'Configure your system' and try and see what the problem is.
Looks as if 'Shorewall' has not been activated.
Anyway thanks again for your advice. Will post results later.
Good Luck
 
  


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
No internet under Mandriva LE 2005 or Mandriva 2006 Akoni Linux - Networking 3 05-06-2006 11:17 AM
OT: Mandriva 2005 dudeman41465 Linux - Software 1 11-17-2005 10:53 AM
Mandriva 2005 LE mortal Mandriva 8 09-26-2005 02:32 PM
mandriva rc2 to mandriva 2005? greythorne Mandriva 1 04-18-2005 08:35 AM

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

All times are GMT -5. The time now is 12:06 AM.

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