LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-27-2003, 01:14 AM   #1
puzz_1
Member
 
Registered: May 2003
Posts: 49

Rep: Reputation: 15
ipchains and iptables both?


when I do a chkconfig --list I see that both iptables and ipchains are on for the current run level. Don't I just need one of them??

One more thing, once a rule is added does it permanently stay or when you reboot it goes away?? where does iptables/ipchains store these rules??
 
Old 05-27-2003, 05:42 AM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
you need only one. when you reboot you will loose the rules. so you need to place the script in a place where they run at boot time
like /etc/rc.d/rc.local
 
Old 05-27-2003, 03:28 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
You should probably stick with iptables. It is the natural replacement for chains and it is more powerful and not as scarry as some would have you believe. I don't know why they still include chains in new distros. Choice I guess...
 
Old 05-28-2003, 08:55 AM   #4
puzz_1
Member
 
Registered: May 2003
Posts: 49

Original Poster
Rep: Reputation: 15
I have been update ipchains in the past. Never worked with iptables, but looks like the syntax is pretty similar.

I like your signature, at one point I was re-installing XP once every week it was hilarious....then I stopped and thought about it and it wasn't funny at all
 
Old 05-29-2003, 11:36 AM   #5
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Windows-free in 2003. That's the goal..

The syntax is very similar to chains actually. If you have worked with chains in the past tables should be fairly easy to learn. Trial and Error is the name of the game, and of course asking the forum for help if you get stuck..

Last edited by Pcghost; 05-29-2003 at 11:38 AM.
 
Old 05-29-2003, 12:18 PM   #6
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Quote:
Originally posted by Pcghost
You should probably stick with iptables. It is the natural replacement for chains and it is more powerful and not as scarry as some would have you believe. I don't know why they still include chains in new distros. Choice I guess...
Well for Debian there is a reason since default install (without bf2.4 option) installs Kernel 2.2 and thus you can't use iptables. iptables requires 2.4+
 
Old 05-29-2003, 12:20 PM   #7
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
For a nailed down iptables firewall, check this thread!
 
Old 05-29-2003, 03:07 PM   #8
Electboy
Member
 
Registered: May 2003
Location: VietNam
Distribution: RedHat 9.0
Posts: 79

Rep: Reputation: 15
i recommend to use iptables
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using ipchains and iptables macburton Linux - Security 8 10-18-2004 01:05 PM
IPCHAINS to IPTABLES slinkyredfoot Linux - Networking 2 05-24-2004 04:33 AM
ipchains ---> iptables jetfreggel Linux - Networking 2 11-10-2002 02:05 PM
IPCHAINS vs. IPTABLES sancho5 Linux - Networking 5 08-26-2001 07:01 PM
Ipchains vs iptables Vetle Linux - Security 1 08-22-2001 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:03 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
Open Source Consulting | Domain Registration