OVH Cloud OVH Cloud

script d'install Remote Access Server

1 réponse
Avatar
Tibo
Hello !

Je dois faire un script d'installation d'une connexion entrante RAS (Remote
Access Server)

Je pensais pouvoir faire ça avec netsh mais apparemment, ça sert seulement à
configurer la connexion côté client.

Quelqu'un sait-il ce que je dois éditer pour ajouter et configurer une
connexion RAS entrante (avec du call-back) ?
(la base de registry, fichiers, commande en ligne, etc.)

Merci beaucoup !

1 réponse

Avatar
Stéphane [MS]
Bonjour,

Vous devriez pouvoir le faire à l'aide de SysOcMgr.

Regardez, pour vous inspirer, la fiche suivante :
http://support.microsoft.com/?id09506

Vous devrez utiliser les sections [NetServices] et [params.MS_RasSrv]

Par exemple :

[NetServices]
;Install RAS entries
MS_RasSrv = params.MS_RasSrv

[params.MS_RasSrv]
AssignSameNetworkNumber = No
AutomaticNetworkNumbers = No
ClientCanRequestIPAddress = Yes
ClientsCanRequestIpxNodeNumber = Yes
DialinProtocols = IPX,TCP/IP
IpAddressEnd = 193.1.1.200
IpAddressStart = 193.1.1.100
IPXClientAccess = ThisComputer
Multilink = No
NetworkNumberFrom = 0x000005ab
RouterType = 3
TcpIpClientAccess = ThisComputer
UseDHCP = Yes

Les paramètres de cette section sont :

AssignSameNetworkNumber
Specifies whether to assign the same network number to all clients.

AutomaticNetworkNumbers
Specifies whether to allocate the network numbers parameter automatically.

ClientCanRequestIPAddress
Specifies whether a Transmission Control Protocol/Internet Protocol
(TCP/IP) client can request a specific IP address.

ClientsCanRequestIpxNodeNumber
Specifies whether a client can request an Internetwork Packet Exchange
(IPX) node number.

DialinProtocols
Specifies the dial-in protocols to support.

IpAddressEnd
Specifies the ending IP address that Setup uses when assigning addresses to
clients.

IpAddressStart
Specifies the beginning IP address that Setup uses when assigning addresses
to clients.

IPXClientAccess
Specifies the access scope of an IPX client.

Multilink
Specifies whether to enable multilinking of modems for increased bandwidth.

NetworkNumberFrom
Specifies the start address of allowed IPX network numbers.

RouterType
Specifies how to configure the Routing and Remote Access Service.

TcpIpClientAccess
Specifies the access scope of an TCP/IP client.

UseDHCP
Specifies whether Dynamic Host Configuration Protocol (DHCP) assigns IP
addresses to TCP/IP clients.


Cdlt
Stéphane

"Tibo" a écrit dans le message de news:
utkZ$
Hello !

Je dois faire un script d'installation d'une connexion entrante RAS
(Remote
Access Server)

Je pensais pouvoir faire ça avec netsh mais apparemment, ça sert seulement
à
configurer la connexion côté client.

Quelqu'un sait-il ce que je dois éditer pour ajouter et configurer une
connexion RAS entrante (avec du call-back) ?
(la base de registry, fichiers, commande en ligne, etc.)

Merci beaucoup !