Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-02-2006, 03:11 AM
|
#1
|
Member
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156
Rep:
|
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.
|
|
|
08-02-2006, 01:39 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
if it's a stand-alone box: if it's a router/gateway:
Code:
iptables -L -v -n
iptables -L -t nat -v -n
|
|
|
08-02-2006, 02:40 PM
|
#3
|
Member
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156
Original Poster
Rep:
|
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.
|
|
|
08-02-2006, 06:32 PM
|
#4
|
Senior Member
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019
Rep:
|
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.
|
|
|
08-04-2006, 08:28 AM
|
#5
|
Member
Registered: Jul 2006
Posts: 134
Rep:
|
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
|
|
|
08-04-2006, 02:23 PM
|
#6
|
Member
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|