<---- template headericclude ----->
not able to save iptable rules
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    ascheucher Guest

    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

  2. #2
    Jman Guest
    Try using iptables-save and iptables-restore

  3. #3
    ascheucher Guest

    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.

Similar Threads

  1. IPTABLE rules validation
    By Ivang in forum Security and Privacy
    Replies: 4
    Last Post: 21st July 2008, 04:03 PM
  2. IPTABLE rules for active/passive ftp
    By rahul.tidke in forum Servers & Networking
    Replies: 0
    Last Post: 13th November 2007, 10:06 AM
  3. FC4 Flushes IpTable Rules
    By gctech in forum Using Fedora
    Replies: 3
    Last Post: 3rd October 2006, 05:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]