HostedDB - Dedicated UNIX Servers

Securing-Optimizing-RH-Linux-1_2_127
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca © Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ® 127 $0 start ;;   *) echo "Usage: firewall {start|stop|status|restart|reload}" exit 1 esac exit 0 Now, make this script executable and change its default permission: [root@deep /]# chmod 700 /etc/rc.d/init.d/firewall [root@deep /]# chown 0.0 /etc/rc.d/init.d/firewall Create the symbolic rc.d links for your Firewall with the command: [root@deep /]# chkconfig --add firewall [root@deep /]# chkconfig --level 345 firewall on Now, your firewall rules are configured to use System V init (System V init is in charge of starting all the normal processes that need to run at boot time) and it will be automatically started each time if your server reboot. · To stop manually the firewall on your system, use the following command: [root@deep /]# /etc/rc.d/init.d/firewall stop Shutting Firewalling Services: [  OK  ] · To start manually the firewall on your system, use the following command: [root@deep /]# /etc/rc.d/init.d/firewall start Starting Firewalling Services: [  OK  ]