Linux - GeneralThis 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.
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.
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
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...
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
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..
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+
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.