Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

For some reason my Fedora is not saving changes made to my iptables.

iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
service iptables status
service iptables restart

Redirecting to /bin/systemctl  status iptables.service

Then when starting, my changes are not there anymore.

Also tried saving:

[root@VTM01 ~]# service iptables save
Redirecting to /bin/systemctl  save iptables.service
Unknown operation save
share|improve this question

1 Answer 1

up vote 5 down vote accepted

Under previous versions of Fedora, it required service iptables save.

Looks like it has been changed to /usr/libexec/iptables.init save.

3.8.3. Saving IPTables Rules

share|improve this answer
    
Check out the post, I tried this earlier but did not include it because I thought I was imagining the command. –  Louis W Sep 19 '12 at 20:49
    
You're right! Looks like they changed it under Fedora 17. I'll edit my post. –  Aaron Copley Sep 19 '12 at 20:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.