Apple Mac OS X Server Network Card User Manual


 
236 Chapter 14 Working with Network Services
NAT Service Settings
Use the following parameters with the serveradmin tool to change settings for NAT
service.
NAT serveradmin Commands
You can use the following commands with the serveradmin tool to manage NAT
service.
Parameter (nat:) Description
deny_incoming yes|no
Default = no.
log_denied yes|no
Default = no.
clamp_mss yes|no
Default = yes
reverse yes|no
Default = no
log yes|no
Default = yes
proxy_only yes|no
Default = no
dynamic yes|no
Default = yes
use_sockets yes|no
Default = yes
interface
The network port.
Default =
"en0"
unregistered_only yes|no
Default = no
same_ports yes|no
Default = yes
Command
(
nat:command=) Description
getLogPaths Find the current location of the log used by the NAT service. See
“Viewing the NAT Service Log” on this page.
updateNATRuleInIpfw Update the firewall rules defined in the ipfilter service to reflect
changes in the NAT settings.
writeSettings Equivalent to the standard serveradmin settings command,
but also returns a setting indicating whether the service needs to
be restarted. See “Using the serveradmin Tool” on page 48.