Iptables..a little help?
Hi everybody..
I got a question about iptables...Recently I've been asked to configure iptables for firewall in RedHat 7.1 machine, but the problem is I've never configured ipchains or iptables before, so I'm a bit in the dark about this matter. Do any of u nice people know where I can find a good, simple documentation that an ipchains/iptables newbie like me can follow? I got some links...one of them is a lengthy tutorial from this guy called Oskar, blessed him it's a good tutorial...but quite overwhelming for someone like me. And I dont really understand it..for example, with what kind of options do I have to recompile my kernel? I hope u all can help me..thanks! Suzana |
here are some for different configs that you should be able to find a good one in
http://www.linuxguruz.org/iptables/ for redhat you should do this Code:
/etc/rc.d/init.d/iptables stop ( you will need to chmod 755 scriptname to execute it ) after that is done do this Code:
the firewall will be controlled by the /etc/rc.d/init.d/iptables script |
Thanks for the reply David :)
I'll check out the link... one more question: do I really have to recompile my RedHat 7.1 kernel (version 2.4). If I do, with what options do I have to recompile it? Thanks again Suzana |
no you don't need to as far as I know
|
You just need to stop ipchains and start iptables. About the configuration... well... if you need to do routing also you can search in google for
Quote:
|
All times are GMT -5. The time now is 06:13 PM. |