Chapter 30. Network Servers

Table of Contents
30.1. Synopsis
30.2. The inetd Super-Server
30.3. Network File System (NFS)
30.4. Network Information System (NIS)
30.5. Lightweight Directory Access Protocol (LDAP)
30.6. Dynamic Host Configuration Protocol (DHCP)
30.7. Domain Name System (DNS)
30.8. Apache HTTP Server
30.9. File Transfer Protocol (FTP)
30.10. File and Print Services for Microsoft® Windows® Clients (Samba)
30.11. Clock Synchronization with NTP
30.12. iSCSI Initiator and Target Configuration

30.1. Synopsis

This chapter covers some of the more frequently used network services on UNIX® systems. This includes installing, configuring, testing, and maintaining many different types of network services. Example configuration files are included throughout this chapter for reference.

By the end of this chapter, readers will know:

  • How to manage the inetd daemon.

  • How to set up the Network File System (NFS).

  • How to set up the Network Information Server (NIS) for centralizing and sharing user accounts.

  • How to set FreeBSD up to act as an LDAP server or client

  • How to set up automatic network settings using DHCP.

  • How to set up a Domain Name Server (DNS).

  • How to set up the Apache HTTP Server.

  • How to set up a File Transfer Protocol (FTP) server.

  • How to set up a file and print server for Windows® clients using Samba.

  • How to synchronize the time and date, and set up a time server using the Network Time Protocol (NTP).

  • How to set up iSCSI.

This chapter assumes a basic knowledge of:

All FreeBSD documents are available for download at

Questions that are not answered by the documentation may be sent to <>.
Send questions about this document to <>.