Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2001, 01:28 PM
|
#1
|
LQ Newbie
Registered: Nov 2001
Posts: 20
Rep:
|
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
|
|
|
12-06-2001, 03:37 AM
|
#2
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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.
|
|
|
12-06-2001, 09:48 PM
|
#3
|
Member
Registered: Nov 2001
Distribution: Solaris, Redhat AS, SUSE
Posts: 52
Rep:
|
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
|
|
|
12-06-2001, 11:29 PM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-15-2001, 03:58 AM
|
#5
|
Moderator
Registered: May 2001
Posts: 29,415
|
...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.
|
|
|
12-15-2001, 12:36 PM
|
#6
|
Member
Registered: Aug 2001
Location: Magic City, USA
Distribution: Ubuntu
Posts: 73
Rep:
|
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
|
|
|
12-15-2001, 12:45 PM
|
#7
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
for ipchains masquerading router to work you need
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -i eth0 -j MASQ
|
|
|
All times are GMT -5. The time now is 05:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|