router services

I want to know how many services are require on my Redhat Linux 9 box while acting it as Router by making it as IP forwarder?
Who is Participating?
blentzConnect With a Mentor Commented:
For a typical router, I usually disable every thing *except*:
anacron, atd, crond, iptables, network, random, sendmail, sshd, and syslog.

You may be doing other things with your router, too. Like DNS, DHCP, or NTP. In that case, you'd obivously want to keep named, dhcpd, and ntpd going, too.

And, if you have any other services on the machine that you need to keep patched, like up2date or rhnsd, you should keep those going, too.

The long and short of it is to go through them one by one and determine from the description if you think you need them or not. For an easy way to do this (assuming you don't have X running on a simple router!) is to use the TUI utiliity ntsysv, and hit F1 on each service, giving you a description.
When functioning as a simple router between two on more networks all that necessary is to enable the forwarding of packets between interfaces in the kernel. That's done dynamically for the running kernel with:

echo 1 > /proc/sys/net/ipv4/ip_forward

or at boot by editing /etc/sysctl.conf and setting:

net.ipv4.ip_forward = 1
pancoderAuthor Commented:
No what i ask is that i have already make router by way you said now i want to know that how many minimum services are required by router. which services can i disable in redhat 9?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.