Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display drive driver drivers email error ethernet excel firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition problem router slow software sound trojan usb video virus vista windows windows xp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
IPTABLES not holding commands after restart


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Couriant's Avatar
Computer Specs
Distinguished Member with 23,505 posts.
 
Join Date: Mar 2002
Location: Proud Brit in VA
Experience: B.S. in M.I.S
10-Apr-2007, 11:03 AM #1
IPTABLES not holding commands after restart
I am not a Linux guy so please, no laughing. I'm sure that this is a simple thing. I have two different linux boxes (Smoothwall, which is linux based, and Ferdora Core 6 with apache) with the same problem. I first thought it was just smoothwall, but my other box ended up with the same problem. For some reason whenever we have entered in the IPTABLES, it will revert back to the default information after the machine is rebooted. Is there a command to save the information that has been added into the IPTABLES?
__________________
With the crime being eliminated in Hoosier Town, people are looking to come to our wonderful city. Please donate one click a day to fund their moving expenses!

A+ Certified, Network+ Certified

Marlene Porter aka. Angelize56 - July 21st 1956 to July 14th 2007
Rest in peace Angelcakes :*(
Couriant's Avatar
Computer Specs
Distinguished Member with 23,505 posts.
 
Join Date: Mar 2002
Location: Proud Brit in VA
Experience: B.S. in M.I.S
10-Apr-2007, 11:30 AM #2
Perhaps if I follow my own advice I would have found the answer... lol

The IPTABLES are stored in RAM so I had to issue the /sbin/service iptables save command to save the configuration..
Squashman's Avatar
Distinguished Member with 12,689 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
15-Apr-2007, 09:07 PM #3
I just put all my Iptables commands in a script that runs at startup.
Couriant's Avatar
Computer Specs
Distinguished Member with 23,505 posts.
 
Join Date: Mar 2002
Location: Proud Brit in VA
Experience: B.S. in M.I.S
15-Apr-2007, 09:31 PM #4
that too. I found that out later

does the same thing though.
O111111O's Avatar
Computer Specs
Senior Member with 893 posts.
 
Join Date: Aug 2005
Location: Right here.
Experience: 31337
15-Apr-2007, 10:21 PM #5
Edit the rules in /etc/sysconfig/iptables by hand.

Or, make rule changes in ram and do: /sbin/service iptables save
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:23 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.