236

NAT Service Settings

Use the following parameters with the serveradmin tool to change settings for NAT service.

Parameter (nat:)

Description

deny_incoming

yesno

 

Default = no.

 

 

log_denied

yesno

 

Default = no.

 

 

clamp_mss

yesno

 

Default = yes

 

 

reverse

yesno

 

Default = no

 

 

log

yesno

 

Default = yes

 

 

proxy_only

yesno

 

Default = no

 

 

dynamic

yesno

 

Default = yes

 

 

use_sockets

yesno

 

Default = yes

 

 

interface

The network port.

 

Default = "en0"

 

 

unregistered_only

yesno

 

Default = no

 

 

same_ports

yesno

 

Default = yes

 

 

NAT serveradmin Commands

You can use the following commands with the serveradmin tool to manage NAT service.

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.

 

 

Chapter 14 Working with Network Services

Page 236
Image 236
Apple Mac OS X Server manual NAT Service Settings, NAT serveradmin Commands, Parameter nat Description