How do I Load / Start RHEL / CentOS / Fedora Linux Iptables Firewall on Computer Boot?

by Vivek Gite on March 13, 2007 · 0 comments

Q. I'd like to start my Iptables based firewall when my computer comes online so that it get protected from the Internet? I'm using CentOS Linux Server version 4.x.

A. CentOS / RHEL / Fedora Linux has service located at /etc/init.d/iptables to start firewall on boot. All you have to do is type the following command to turn on firewall on boot:
# chkconfig iptables on

Your firewall rules are saved at /etc/sysconfig/iptables files.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 14 + 4 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: