Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus batch bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard mouse network printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
IPTABLES not holding commands after restart

Reply  
Thread Tools
Couriant's Avatar
Distinguished Member with 27,146 posts.
 
Join Date: Mar 2002
Location: Chillin in AZ
Experience: B.S. in M.I.S
10-Apr-2007, 12:03 PM #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?
__________________
Marlene Porter aka. Angelize56 - July 21st 1956 to July 14th 2007 -- Rest in peace Angelcakes :*(
I just had a newborn... so please wait while I try to get a chance to get online.
DO NOT send me email, or request MSN Messenger help, they will be canceled and blocked.
Couriant's Avatar
Distinguished Member with 27,146 posts.
 
Join Date: Mar 2002
Location: Chillin in AZ
Experience: B.S. in M.I.S
10-Apr-2007, 12:30 PM #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
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
15-Apr-2007, 10:07 PM #3
I just put all my Iptables commands in a script that runs at startup.
Couriant's Avatar
Distinguished Member with 27,146 posts.
 
Join Date: Mar 2002
Location: Chillin in AZ
Experience: B.S. in M.I.S
15-Apr-2007, 10:31 PM #4
that too. I found that out later

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

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

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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 want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
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 01:48 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.