LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2001, 12:28 PM   #1
munisp
LQ Newbie
 
Registered: Nov 2001
Posts: 20

Rep: Reputation: 0
ipchains or iptables


I am running redhat 7.1 with kernel 2.4.2 smp. How do I know which running on my server ipchains or iptables. How do I get I chains to and disable ipchains.? Do I have to reconfigure my kernel to get iptables to work?

thanks
Patrick
 
Old 12-06-2001, 02:37 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Ipchains is the 2.2.x kernel implemtation and iptables is for 2.4.x series kernels, you should be able to find the info you need at Redhat.
 
Old 12-06-2001, 08:48 PM   #3
sarmadys
Member
 
Registered: Nov 2001
Distribution: Solaris, Redhat AS, SUSE
Posts: 52

Rep: Reputation: 16
Hello

You must use iptables.

ipchains is not compatible with kernel version 2.4 and higher. It will issue a warning on this if you try to use it.

iptables does everything you need with ipchains. (and very better, I used a single iptables instruction instead of 3 ipchains)

Mac
 
Old 12-06-2001, 10:29 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Either one will work

But you cannot run ipchains with iptables

Disable one of them

you can run setup

go into services and if it's not selected it will be off.

setup does the services for you in xinetd.d
 
Old 12-15-2001, 02:58 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...also please note ipchains is "combat proven" under high load and with any protocol it/kernel can support, whereas netfilter/iptables still has some alpha/beta/bug(/performance?) issues.
 
Old 12-15-2001, 11:36 AM   #6
Cpare
Member
 
Registered: Aug 2001
Location: Magic City, USA
Distribution: Ubuntu
Posts: 73

Rep: Reputation: 15
I was never able to PPTP through my Linux router until I used IPTABLES. Perhaps it was just me, or I am getting more used to Linux, but IPTABLES "just worked"... My 2 Cents
 
Old 12-15-2001, 11:45 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
for ipchains masquerading router to work you need


echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -i eth0 -j MASQ
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPCHAINS to IPTABLES slinkyredfoot Linux - Networking 2 05-24-2004 04:33 AM
ipchains and iptables both? puzz_1 Linux - General 7 05-29-2003 03:07 PM
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 - Networking

All times are GMT -5. The time now is 06:44 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