238

To display the log path:

$ sudo serveradmin command nat:command = getLogPaths

The computer will respond with the following output:

nat:natLog = <nat-log>

Value

Description

<nat-log>

The location of the NAT service log.

 

Default = /var/log/alias.log

 

 

Managing the VPN Service

Virtual Private Network (VPN) is two or more computers or networks (nodes) connected by a private link of encrypted data. This link simulates a local connection, as if the remote computer were attached to the local area network (LAN).

VPNs allow users at home or away from the LAN to securely connect to it using any network connection, such as the Internet. From the user’s perspective, the VPN connection appears as a dedicated private link.

Starting and Stopping VPN Service

To start VPN service:

$ sudo serveradmin start vpn

To stop VPN service:

$ sudo serveradmin stop vpn

Checking the Status of VPN Service

To see summary status of VPN service:

$ sudo serveradmin status vpn

To see detailed status of VPN service:

$ sudo serveradmin fullstatus vpn

Viewing VPN Service Settings

To list VPN service configuration settings:

$ sudo serveradmin settings vpn

To list a particular setting:

$ sudo serveradmin settings vpn:setting

Chapter 14 Working with Network Services

Page 238
Image 238
Apple Mac OS X Server Managing the VPN Service, Starting and Stopping VPN Service, Checking the Status of VPN Service