Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-10-2004, 05:21 AM   #1
Registered: Sep 2003
Posts: 33

Rep: Reputation: 15
iptables save rules

I'm having trouble with my iptables.

When i try to save the current information i use:
/etc/init.d/iptables save active
But when i reboot my machine and list with "iptables -L" there are no rules saved :/

Any ideas how to solve this?
Old 02-10-2004, 04:53 PM   #2
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
use /sbin/iptables-save, with hyphen. You should pipe the output to a file and then use iptables-restore upon boot.
See iptables-save manpage. Or consider using an encapsulation for iptables, such as shorewall: it's much easier to manage.

Last edited by ac1980; 02-10-2004 at 04:54 PM.


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
IPTABLES - rules in /etc/sysconfig/iptables The_JinJ Linux - Newbie 6 11-20-2004 01:40 AM
iptables rules puding Linux - Networking 2 08-09-2004 10:46 PM
iptables rules Hegemon Linux - Networking 0 01-28-2004 02:20 AM
iptables rules chrisfirestar Linux - Security 2 10-29-2003 02:30 AM
iptables rules hazza96 Linux - Security 3 09-09-2001 11:16 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:42 PM.

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