Apple oxs Server User Manual


 
142 Chapter 13 Working With Network Services
Viewing Firewall Service Log
You can use tail or any other file listing tool to view the contents of the ipfilter service
log.
To view the latest entries in the log:
$ tail log-file
You can use the serveradmin getLogPaths command to see where the current
ipfilter service log is located.
To display the log path:
$ sudo serveradmin command ipfilter:command = getLogPaths
Output
ipfilter:systemLog = <system-log>
Using Firewall Service to Simulate Network Activity
You can use the Firewall service in Mac OS X service in conjunction with Dummynet, a
general-purpose network load simulator. For more information on Dummynet, visit
ai3.asti.dost.gov.ph/sat/dummynet.html or use Google or Sherlock to search the web.
NAT Service
Starting and Stopping NAT Service
To start NAT service:
$ sudo serveradmin start nat
To stop NAT service:
$ sudo serveradmin stop nat
Checking the Status of NAT Service
To see summary status of NAT service:
$ sudo serveradmin status nat
To see detailed status of NAT service:
$ sudo serveradmin fullstatus nat
Viewing NAT Service Settings
To list NAT service configuration settings:
$ sudo serveradmin settings nat
To list a particular setting:
$ sudo serveradmin settings nat:setting
Value Description
<system-log> The location of the ipfilter service log.
Default = /var/log/system.log
LL2354.book Page 142 Monday, October 20, 2003 9:47 AM