Changing NAT Service Settings

To change a setting:

$ sudo serveradmin settings nat:setting = value

Parameter

Description

setting

A NAT service setting. To see a list of available settings, type

 

$ sudo serveradmin settings nat

 

or see “NAT Service Settings” on this page.

 

 

value

An appropriate value for the setting.

 

 

To change several settings:

$ sudo serveradmin settings

nat:setting = value

nat:setting = value

nat:setting = value

[...]

Control-D

NAT Service Settings

Use the following parameters with the serveradmin command 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"

 

 

Chapter 13 Working With Network Services

143

Page 143
Image 143
Apple oxs manual Changing NAT Service Settings, Parameter nat Description