Needed to disable the firewall on a new Centos virtual machine I'm setting up.
Used the following commands from NixCraft
Disable Linux Firewall
Type the following two commands:
[ root@machine ~] /etc/init.d/iptables save
[ root@machine ~] /etc/init.d/iptables stop
Turn off firewall on boot:
[ root@machine ~] chkconfig iptables off
Enable Linux Firewall
Type the following command to turn on iptables firewall:
[ root@machine ~] /etc/init.d/iptables start
Turn on firewall on boot:
[ root@machine ~]# chkconfig iptables on
Comments
Post a Comment