Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-19-2004, 04:54 PM   #1
Registered: Sep 2003
Location: Southeast USA
Distribution: CentOS
Posts: 111

Rep: Reputation: 15
iptables save commands are not working

I have tried to change my default FORWARD rule to DROP and tried several ways to save it:

iptables-save > /etc/sysconfig/iptables
iptables-save -c

My /etc/sysconfig/iptables file looks like this:


and this is what it looks like everytime I reboot even though I have entered the save commands.


Old 01-19-2004, 06:16 PM   #2
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
What distro are you running. If you are using RedHat that should work, but I would use
/etc/init.d/iptables save;
instead. RedHat sometimes moves config files around.


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
commands for monitor off / power save tardigrade Linux - General 2 02-13-2005 01:28 AM
Where should I save this iptables? wardialer Linux - Newbie 2 02-12-2005 05:10 AM
Where to save IP Masquerading commands? hnash53 Linux - Networking 4 02-08-2004 02:29 PM
cannot download files in mozilla -save dialog not working, galeon not working cmisip Linux - General 0 08-03-2003 04:25 PM
Iptables-save ??? gruger Linux - Security 3 05-23-2003 07:23 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:08 AM.

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