Fedora Linux Support Community & Resources Center
  #1  
Old 28th June 2005, 08:47 AM
ascheucher Offline
Registered User
 
Join Date: Feb 2005
Posts: 9
not able to save iptable rules

I've got a strange problem. I defined some time ago some iptable rules and wrote them into a script. When I execute it, the the firewall is configured properly (like it should be).
I save now the configuration int a file for comparsion: iptables -L > before_boot.txt
After that, I save the configuratione: service iptables save
It says [OK]
after reboot I save my configuration again to compare it: iptables -L > after_reboot.txt

Big surprise: there are some rules missing.

Waht do I wrong in saving the rules? The /etc/sysconfig/iptables file is there and writeable:
-rw------- 1 root root 1514 28. Jun 08:25 /etc/sysconfig/iptables

Im really sad now to call the script after every boot manually....

Anybody any idea?
thanks a lot,
Andreas
Reply With Quote
  #2  
Old 29th June 2005, 01:18 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
Posts: 7,909
Try using iptables-save and iptables-restore
Reply With Quote
  #3  
Old 29th June 2005, 09:35 AM
ascheucher Offline
Registered User
 
Join Date: Feb 2005
Posts: 9
Smile problem solved

thanks, the problem is solved. it seems, I have changed the iptables script long time ago and the loading of the configuration at boottime did not work. de- and reinstalling the iptables package fixed the prolem.
Reply With Quote
Reply

Tags
iptable, rules, save

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTABLE rules validation Ivang Security and Privacy 4 21st July 2008 04:03 PM
IPTABLE rules for active/passive ftp rahul.tidke Servers & Networking 0 13th November 2007 09:06 AM
FC4 Flushes IpTable Rules gctech Using Fedora 3 3rd October 2006 05:35 AM


Current GMT-time: 05:58 (Wednesday, 01-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat