Apple Xserve Up Mac OS X Server Specifikace Strana 240

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 329
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 239
240 Chapter 14 Configuring and Managing Network Services
<dict>
<key>proto</key>
<string>tcp</string>
<key>targetIP</key>
<string>1.2.3.4</string>
<key>targetPortRange</key>
<string>80</string>
<key>aliasPortRange</key>
<string>80</string>
</dict>
</array>
Confirm those settings using the serveradmin tool:
$ sudo serveradmin settings nat
...
nat:redirect_port:_array_index:0:proto = "tcp"
nat:redirect_port:_array_index:0:targetPortRange = "80"
nat:redirect_port:_array_index:0:aliasPortRange = "80"
nat:redirect_port:_array_index:0:targetIP = "1.2.3.4"
Control-D
Viewing the NAT Service Log and Log Path
To view the contents of the NAT service log or to view log paths, use tail or another
file listing tool.
To view the latest entries in the log:
$ tail
log-file
To see where the NAT service log is located, use the serveradmin getLogPaths
command.
To view the log path:
$ sudo serveradmin command nat:command = getLogPaths
The computer responds with the following output:
nat:natLog = <nat-log>
Managing VPN Service
A 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).
Value Description
<nat-log> The location of the NAT service log.
Default =
/var/log/alias.log
Zobrazit stránku 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 328 329

Komentáře k této Příručce

Žádné komentáře