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 |
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.
|
|
05-27-2003, 02:14 AM
|
#1
|
Member
Registered: May 2003
Posts: 49
Rep:
|
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??
|
|
|
05-27-2003, 06:42 AM
|
#2
|
Member
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456
Rep:
|
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
|
|
|
05-27-2003, 04:28 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
|
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...
|
|
|
05-28-2003, 09:55 AM
|
#4
|
Member
Registered: May 2003
Posts: 49
Original Poster
Rep:
|
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
|
|
|
05-29-2003, 12:36 PM
|
#5
|
Senior Member
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
|
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 12:38 PM.
|
|
|
05-29-2003, 01:18 PM
|
#6
|
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Rep:
|
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+
|
|
|
05-29-2003, 01:20 PM
|
#7
|
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Rep:
|
For a nailed down iptables firewall, check this thread!
|
|
|
05-29-2003, 04:07 PM
|
#8
|
Member
Registered: May 2003
Location: VietNam
Distribution: RedHat 9.0
Posts: 79
Rep:
|
i recommend to use iptables
|
|
|
All times are GMT -5. The time now is 10:07 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
|
|