Setting up Centos 6 as a router with Shoreline Firewall, Bind 9 and ISC DHCPD

In this video I will be setting up Centos 6 as a router with Shorewall Firewall as the iptables control service, Bind 9 to handle the DNS resolving and caching, then ISC DHCPD to handle the giving out of IP addresses. I am using normal RPM packages that have been configured correctly, so that there is no need for SELinux to be disabled.

 

Below are the commands that I used in the console during the installation.

system-config-network

yum -y install epel-release
yum -y install dhcp bind-utils bind-chroot

http://www.invoca.ch/pub/packages/shorewall/RPMS/ils-6/noarch/

wget https://downloads.sourceforge.net/project/webadmin/webmin/1.760/webmin-1.760-1.noarch.rpm

yum install shorewall-*

yum install webmin-1.760-1.noarch.rpm

nano /etc/sysctl.conf

ntsysv

nano /etc/shorewall/shorewall.conf