Start Iptables under Linux
Q. How do I start Iptables firewall under RHEL / Red Hat / CentOS / Fedora Linux from a shell prompt? How do I stop firewall?
A. First, you need to configure firewall rules by editing text file located at /etc/sysconfig/iptables. You can also use setup command to configure firewall. Just type the following as root user:
# setup
Select Firewall configuration and just follow on screen instructions.
Once configuration is updated type the following command at a shell prompt:
To start firewall from a shell enter:
# chkconfig iptables on
# service iptables start
To stop firewall, enter:
# service iptables stop
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Linux / UNIX FAQ:
- How do I Load / Start RHEL / CentOS / Fedora Linux Iptables Firewall on Computer Boot?
- Linux disable or remove the iptables firewall
- How to: Disable firewall on RHEL / CemtOS / Redhat Linux
- Block ip address of spammers with iptables under Linux
- Redhat / CentOS / Fedora Linux Open Port
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!
Tags: /etc/sysconfig/iptables, redhat start iptables, rhel start iptables, service command, start iptables, start linux firewall, stop iptables, stop linux firewall ~ Last updated on: April 18, 2008



Recent Comments
Today ~ 2 Comments
Today ~ 37 Comments
Today ~ 46 Comments
Yesterday ~ 2 Comments
Yesterday ~ 9 Comments