Using dce_config to Configure the Gateway Server and Enable Remote Authentication

To configure a DFS/NFS Secure Gateway by using dce_config, and get the default results, perform the following steps. If you want to manually configure the Gateway and make specific changes, see Configuring a Gateway Server and Enabling Remote Authentication.

On each server machine:

1. Log in as the root user on the machine.

2. Install the binary file for the dfsgwd process in the directory dcelocal/bin. The dfsgwd process provides users of NFS clients with a remote interface to the authentication table maintained on the Gateway Server machine.

3. Use the exportfs command to export the DCE global root directory (/…) via NFS.

4. Add the dfsgw service to the Internet services database. The dfsgw service provides the login facility for the DFS/NFS Secure Gateway. To add the service, do one of the following:

· If you use the /etc/services file in your environment, add an entry for the dfsgw services to the /etc/services file.

· If you use a Network Information Service (NIS) services map in your environment, add an entry for the dfsgw service to the NIS services map file on the NIS master. Add the entry to the services map for the first Gateway Server process only; do not add the entry for additional Gateway Server processes or NFS clients.

In either case, you must add the following entry for the service:

dfsgw 438/udp dlog

where dfsgw is the name of the service, 438 is the port at which the service receives RPCs, udp is the protocol the service uses to communicate, and dlog is an alias for the dfsgw service.

Run dce_config as follows:

· From the Main DCE Configuration menu, select 4 (DFS Client).

· Enter the cell administrator's name and password.

· Enter y at the prompt Would you like to configure this client as an NFS Gateway?

· Respond to the prompt Would you like to use BOS server to monitor and administer the dfsgwd process? as follows:

If you want the dfsgw server administrator to be able to administer and monitor the dfsgw server via BOS commands, enter y. Otherwise, enter n.

Configuration of the node as an NFS/DFS Gateway Server is complete.