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 12-03-2004, 03:41 AM   #1
bLaDe
Member
 
Registered: May 2003
Location: Adelaide, Australia
Distribution: Fedora Core 3
Posts: 52

Rep: Reputation: 15
Iptables don't load / show on FC3


Hi Guys,
I have a strange and weird problem at the moment which I can't work out for the life of me.

I recently decided to jump back into my iptables and clean them up a bit.

Anyway upon getting them to almost a point where I like them I did the standard iptables-save which seems to have worked and generated the following here in my /etc/sysconfig/iptables as expected.

When I do a service iptables restart and then iptables -L I now get everything blank as shown
here

I can't workout whether I'm doing anything wrong, from what I've read thus far it all looks OK unless of course I'm missing something completely obvious.

Any help would be great.

Which reminds me should you think I could have done something better in my tables by all means tell me as I'm eager to learn from my mistakes.


Thanks
Cheers
Darren
 
Old 12-03-2004, 06:46 AM   #2
Butt-Ugly
Member
 
Registered: Nov 2004
Location: Brisbane, Australia
Distribution: Fedora Core 5
Posts: 89

Rep: Reputation: 15
Darren,

What you are seeing is correct. Your iptables -L command is only displaying the 'filter' table.

If you look at your iptables-save, there is nothing in the 'filter' table - so your second screenshot is correct.

What do you get from (paste as one whole command)?: iptables -t filter -nvL ; iptables -t nat -nvL ; iptables -t mangle -nvL

BU.
 
Old 12-03-2004, 04:01 PM   #3
bLaDe
Member
 
Registered: May 2003
Location: Adelaide, Australia
Distribution: Fedora Core 3
Posts: 52

Original Poster
Rep: Reputation: 15
Believe it or not that would actually make sense which would explain why everything was blank in webmin until I changed to nat or mangle.

Quote:
What do you get from (paste as one whole command)?: iptables -t filter -nvL ; iptables -t nat -nvL ; iptables -t mangle -nvL
Located here is what I got, that makes a little bit of sense although it's been a while since I've done any in depth reading for iptables.

Is there anything I can add to my tables to make it more secure or is there any need to log any of the information above?

Thanks for your help.

The more I think about it the more sense it makes.


Cheers
Darren
 
Old 12-03-2004, 05:37 PM   #4
Butt-Ugly
Member
 
Registered: Nov 2004
Location: Brisbane, Australia
Distribution: Fedora Core 5
Posts: 89

Rep: Reputation: 15
I am currently drafting a Linux HOWTO for Home Servers - see my profile for website.

I'll be starting on the firewall concepts shortly, but there is already a simple iptables script available if you wish to test it.

Obviously the document is in draft, but hopefully will provide you some early pointers.

BU.
 
Old 12-04-2004, 07:06 AM   #5
bLaDe
Member
 
Registered: May 2003
Location: Adelaide, Australia
Distribution: Fedora Core 3
Posts: 52

Original Poster
Rep: Reputation: 15
Well what can I say I've just started reading what you've put together and it's brilliant from my point of view, it's basic and straight to the point.

I really look forward to this progressing, keep up the great work!

Cheers
Darren
 
Old 12-04-2004, 09:03 AM   #6
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
@bLaDe
actually u dont have any filter.
u can generate a simple and enough secure iptables script from www.iptables-script.dk

@Butt-Ugly
keep up good work
 
  


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
FC3 Wont Load X Windows gayxdanny Fedora 8 03-27-2005 06:56 PM
info fc3 bootscreen / CTRL-D to show details! doblocruiser Fedora 0 01-25-2005 03:42 PM
RH AS 3.2 External Packets Disappear but iptables show accepted jbriner Linux - Security 13 10-13-2004 03:34 PM
Iptables - Couldn't load target `ACCPET':/lib/iptables/libipt_ACCPET.so: z00t Linux - Security 3 01-26-2004 02:24 AM
iptables how to show the nat table Breezer Linux - Security 1 12-13-2001 02:10 PM

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

All times are GMT -5. The time now is 12:05 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