Layout do Registro de Roteamento e Acesso Remoto
A sintaxe a seguir mostra um layout de registro de exemplo para o serviço de roteador.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasMan
\PPP
\ControlProtocols
\Builtin
Path: REG_EXPAND_SZ: %SystemRoot%\System32\rasppp.dll
\Chap
Path: REG_EXPAND_SZ: %SystemRoot%\System32\raschap.dll
\EAP
\<typeID>
ConfigCLSID: REG_SZ: <guid>
ConfigUiPath: REG_EXPAND_SZ: %SystemRoot%\System32\rastls.dll
FriendlyName: REG_SZ: Public Key Based Authentication (EAP-TLS)
IdentityUIPath: REG_EXPAND_SZ: %SystemRoot%\System32\rastls.dll
InvokePasswordDialog: REG_DWORD: 0
InvokeUsernameDialog: REG_DWORD: 0
Path: REG_EXPAND_SZ: %SystemRoot%\System32\rastls.dll
\<typeID>
FriendlyName: REG_SZ: MD5 CHAP
InvokePasswordDialog: REG_DWORD: 0x1
InvokeUsernameDialog: REG_DWORD: 0x1
Path: REG_EXPAND_SZ: %SystemRoot%\System32\raschap.dll
StandaloneSupported: REG_DWORD: 0
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess
\Accounting
\Providers
ActiveProvider: REG_SZ: . . . \<guid>
ConfigCLSID: REG_SZ: <guid>
DisplayName: REG_SZ: Radius Accounting
Path: REG_EXPAND_SZ: %SystemRoot%\System32\rasrad.dll
Vendor: REG_SZ: Microsoft
. . .
\Authentication
\Providers
ActiveProvider: REG_SZ: . . . \<guid>
ConfigCLSID: REG_SZ: <guid>
DisplayName: REG_SZ: Radius Authentication
Path: REG_EXPAND_SZ: %SystemRoot%\System32\rasrad.dll
Vendor: REG_SZ: Microsoft
\<guid>
ConfigCLSID: REG_SZ: <guid>
DisplayName: REG_SZ: NT Authentication
Path: REG_EXPAND_SZ: %SystemRoot%\System32\rasauth.dll
Vendor: REG_SZ: Microsoft
. . .
\DemandDialManager
DLLPath: REG_EXPAND_SZ: . . .
< RAS parameters and DDM parameters >
\Interfaces
\0
Enabled: REG_DWORD: (0/1)
InterfaceName: REG_SZ: CorpHQ
Type: REG_DWORD: (Internal/Dedicated/Loopback)
\IP
InterfaceInfo: REG_BINARY: . . .
ProtocolID: REG_DWORD: 0x0021
\IPX
InterfaceInfo: REG_BINARY: . . .
ProtocolID: REG_DWORD: 0x002B
. . .
\N
InterfaceName: REG_SZ: IntelEtherExpressPro2
. . .
\Parameters
LANOnlyMode: REG_DWORD: (0/1)
ServerFlags: REG_DWORD: . . .
ServiceDLL: REG_EXPAND_SZ: %SystemRoot%\System32\mprdim.dll
\RouterManagers
\IP
DLLPath: REG_SZ: . . .
GlobalInFilter: REG_BSZ: < filter set name > . . .
GlobalInfo: REG_BINARY: . . .
GlobalInterfaceInfo: REG_BINARY: . . .
ProtocolID: REG_DWORD: 0x0021
. . .
\IPX
DLLPath: REG_SZ: . . .
GlobalInFilter: REG_BSZ: < filter set name > . . .
GlobalInfo: REG_BINARY: . . .
GlobalInterfaceInfo: REG_BINARY: . . .
ProtocolID: REG_DWORD: 0x002B
. . .
. . .
HKEY_LOCAL_MACHINE\Software\Microsoft
\Router
\CurrentVersion
\RouterManagers
\IP
\OSPF
ConfigDll: REG_SZ: ipadmin.dll
DllName: REG_SZ: ospf.dll
ProtocolID: REG_DWORD: 0xD
Title: REG_SZ: Open Shortest Path First
\IPBOOTP
. . .
\IPRIP
. . .
\IPX
\IpxRip
ConfigDll: REG_SZ: ipxadmin.dll
DllName: REG_SZ: IPXRIP.DLL
ProtocolID: REG_DWORD: 0x20000
Title: REG_SZ: RIP for Ipx
\IpxSap
. . .
. . .
\UIConfigDlls
<guid1>: REG_SZ: ifadmin.dll
<guid2>: REG_SZ: ipadmin.dll
<guid3>: REG_SZ: ipxadmin.dll
<guid4>: REG_SZ: ddmadmin.dll
Cada gerenciador de roteador instalado no sistema tem uma chave do Registro criada sob a chave do Roteador. A variável DLLPath especifica o local da DLL que corresponde ao gerenciador de roteador e a variável ProtocolID especifica o identificador da família de protocolos para o gerenciador de roteadores.
A chave interfaces é preenchida com as interfaces que foram adicionadas ao sistema local a partir da configuração do Roteador. Cada interface tem um Tipo associado (Interno, Dedicado ou Dinâmico) e subchaves para cada gerenciador de roteador (IP e IPX, por exemplo).