LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 11-29-2004, 10:05 AM   #1
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Rep: Reputation: 15
Wierd IPtables issue


I have a whitebox linux server acting as a router/gateway.. I have properly configured iptables and have made sure to use the service iptables save to make sure my config is saved.. however when ever I reboot the server, iptables gets flushed and there is nothing there... Anyone have any clue?
 
Old 11-29-2004, 10:23 AM   #2
thinksincode
LQ Newbie
 
Registered: Nov 2004
Location: Massachusetts, USA
Distribution: Fedora
Posts: 27

Rep: Reputation: 15
I don't trust the iptables save/load system, it's caused me problems before. What I do is put all my iptables commands in a script and save it as /etc/rc.firewall. Then in your /etc/init.d/network script, just add a call to /etc/rc.firewall. That way you can be sure it loads the settings you like every time.
 
Old 11-29-2004, 10:29 AM   #3
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks for the info... I will have to try that.. what is wierd is that the iptables --table nat config remains...
 
Old 11-29-2004, 10:38 AM   #4
thinksincode
LQ Newbie
 
Registered: Nov 2004
Location: Massachusetts, USA
Distribution: Fedora
Posts: 27

Rep: Reputation: 15
Yeah, it is weird. I think it's a little flaky.
 
Old 12-16-2004, 03:46 PM   #5
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
OK I am feeling a bit stupid today, how exactly would I make a call to rc.firewall in the /etc/init.d/network file
 
Old 12-20-2004, 07:54 AM   #6
flipcode
Member
 
Registered: Dec 2004
Distribution: Red Hat 9, Fedora Core 3, KNOPPIX
Posts: 33

Rep: Reputation: 15
What exactly does the 'rc' part mean? There's rc.local, rc.firewall... is there a meaning for 'rc' ?
 
  


Reply


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
Wierd BT848 Tv Tuner Card Issue holymoo Linux - Hardware 6 07-28-2005 11:02 PM
Really, REALLY wierd networking issue... bengoodger Ubuntu 8 06-06-2005 07:41 PM
wierd Samba issue artman62 Linux - Networking 2 08-13-2002 08:59 PM
Wierd ES1370/BTTV sound issue dudaman Linux - General 2 02-21-2002 01:42 AM
Really wierd CD-Rom issue. habiblove Linux - Software 1 10-05-2001 07:18 AM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration