Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
|
|
09-27-2006, 09:52 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Location: Rochester, NY
Distribution: fedora
Posts: 18
Rep:
|
iptables vs. ip6tables
There had been one similar thread about this question but there is no answer. So I would like to post it again since I need your help.
System: Redhat 2.4.20 (old but this in embedded system)
It has iptables-1.2.6a-2
This system must support IPv4 and IPv6 (IPv6 is enable)and therefore must have firewall for both IPv4 and IPv6. Currently iptables is enable for IPv4.
Questions:
1. Can I enable ip6tables while existing iptables running?
(can iptables and ip6tables co-exist?, Redhat Chapter 7 seems to say 'no' but I need to protect both IPv4 and IPv6)
2. Do I need both? (I do need firewall for both Ipv4 and IPv6)
3. I also found at rpmfind.net: iptables-ipv6-1.2.6a-2.i386.rpm
So now I have 3 packages: iptables, iptables-ipv6 and
ip6tables. What are differences and how these packages work together and which one (or ones) I do (or do not) need?
I thank you very much in advanced anything you can help.
Best regards,
Q14526
|
|
|
09-29-2006, 04:01 AM
|
#2
|
Member
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71
Rep:
|
1. Generally you can use iptables and ip6tables parallel to each other. However with RedHat it doens't look like it's possible. You might want to try un-installing the iptables, ip6tables, and iptables-ipv6 RPM's and manually installing iptables from netfilter.org. You might have better luck installing it manually, and that way you will have both iptables and ip6tables. I have not personally tried this... but it's worth a shot.... anyone else, please feel free to correct me if I am wrong..
2. Yes, you need both
3. iptables = ipv4, iptables-ipv6 = ipv6, ip6tables = ipv6
Hope this was helpful
|
|
|
09-29-2006, 10:32 AM
|
#3
|
LQ Newbie
Registered: Dec 2005
Location: Rochester, NY
Distribution: fedora
Posts: 18
Original Poster
Rep:
|
Hi ph34r3d,
Thank you very much for your response. It is tremendously helpful. I will follow your suggestion #1.
About my question #3, you said "iptables-ipv6 = ipv6": do you mean that I will keep the existing iptables, just add the iptables-ipv6-1.2.6a-2.i386.rpm to my kernel (since it is only for ipv6)?
I try to get the iptables-ipv6-1.2.6a-2.i386.srpm (source)at rpmfind.net but the link does not work. I have searched google/linux but could not find it. Do you know where I can get that file?
Again, thank you very much for your help.
Best regard,
q14526
|
|
|
09-29-2006, 04:15 PM
|
#4
|
Member
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71
Rep:
|
iptables-ipv6-1.2.6a-2.i386.rpm is for ipv6.
If you download and install the following, you should have both iptables and ip6tables:
ftp://ftp.netfilter.org/pub/iptables...-1.3.6.tar.bz2
|
|
|
All times are GMT -5. The time now is 10:19 AM.
|
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
|
|