Set-VpnServerConfiguration

Set-VpnServerConfiguration

Updates S2S server parameters.

구문

Parameter Set: CustomPolicy
Set-VpnServerConfiguration -CustomPolicy [-AuthenticationTransformConstants <AuthenticationTransformConstants> {MD596 | SHA196 | SHA256128 | GCMAES128 | GCMAES192 | GCMAES256 | None} ] [-CimSession <CimSession[]> ] [-CipherTransformConstants <CipherTransformConstants> {DES | DES3 | AES128 | AES192 | AES256 | GCMAES128 | GCMAES192 | GCMAES256 | None} ] [-DHGroup <DHGroup> {None | Group1 | Group2 | Group14 | ECP256 | ECP384 | Group24} ] [-EncryptionMethod <EncryptionMethod> {DES | DES3 | AES128 | AES192 | AES256} ] [-GrePorts <UInt32> ] [-IdleDisconnectSeconds <UInt32> ] [-Ikev2Ports <UInt32> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-IntegrityCheckMethod <IntegrityCheckMethod> {MD5 | SHA1 | SHA256 | SHA384} ] [-L2tpPorts <UInt32> ] [-MMSALifeTimeSeconds <UInt32> ] [-PassThru] [-PfsGroup <PfsGroup> {None | PFS1 | PFS2 | PFS2048 | ECP256 | ECP384 | PFSMM | PFS24} ] [-SADataSizeForRenegotiationKilobytes <UInt32> ] [-SALifeTimeSeconds <UInt32> ] [-SstpPorts <UInt32> ] [-ThrottleLimit <Int32> ] [-TunnelType <TunnelType> {IKEV2 | L2TP} ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: EncryptionType
Set-VpnServerConfiguration [-CimSession <CimSession[]> ] [-EncryptionType <String> {NoEncryption | RequireEncryption | OptionalEncryption | MaximumEncryption} ] [-GrePorts <UInt32> ] [-IdleDisconnectSeconds <UInt32> ] [-Ikev2Ports <UInt32> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-L2tpPorts <UInt32> ] [-MMSALifeTimeSeconds <UInt32> ] [-PassThru] [-SADataSizeForRenegotiationKilobytes <UInt32> ] [-SALifeTimeSeconds <UInt32> ] [-SstpPorts <UInt32> ] [-ThrottleLimit <Int32> ] [-TunnelType <TunnelType> {IKEV2 | L2TP} ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: RevertToDefault
Set-VpnServerConfiguration -RevertToDefault [-CimSession <CimSession[]> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-TunnelType <TunnelType> {IKEV2 | L2TP} ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]

자세한 설명

The Set-VpnServerConfiguration cmdlet updates IPSEC properties on RRAS server for incoming S2S VPN Interfaces. By Specifying CustomPolicy, IPsec parameters can be customized.

매개 변수

-AuthenticationTransformConstants<AuthenticationTransformConstants>

Specifies the authentication transform plumbed in Ipsec policy.

별칭

FirstTransformType

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-CimSession<CimSession[]>

원격 세션이나 원격 컴퓨터에서 cmdlet을 실행합니다. 컴퓨터 이름이나 New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 세션 개체를 입력하세요. 기본값은 로컬 컴퓨터 상의 현재 세션입니다.

별칭

Session

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-CipherTransformConstants<CipherTransformConstants>

Specifies the cipher plumbed in IPsec policy.

별칭

FirstCipherAlgorithm,OtherCipherAlgorithm

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-CustomPolicy

Indicates the custom IKE IPSEC policy.

별칭

none

필수 여부

true

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-DHGroup<DHGroup>

Specifies the DH Group Plumbed in Ipsec policy.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-EncryptionMethod<EncryptionMethod>

Specifies the encryption method plumbed in IKE policy.

별칭

Encryption

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-EncryptionType<String>

Specifies the type of Encryption.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-GrePorts<UInt32>

Specifies the number of Generic Routing Encapsulation (GRE) ports.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-IdleDisconnectSeconds<UInt32>

Specifies the time, in seconds, after which an idle connection is terminated. Unless the idle time-out is disabled, the entire connection is terminated if the connection is idle for the specified interval.

별칭

IdleDurationSeconds

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-Ikev2Ports<UInt32>

Specifies the number of IKEv2 ports that are created.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-InformationAction<ActionPreference>

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend

별칭

infa

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InformationVariable<String>

Specifies a variable in which to store an information event message.

별칭

iv

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-IntegrityCheckMethod<IntegrityCheckMethod>

Specifies the integrity method plumbed in IPsec policy.

별칭

FirstIntegrityAlgorithm,OtherHashAlgorithm

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-L2tpPorts<UInt32>

Specifies the number of L2TP ports that are created.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-MMSALifeTimeSeconds<UInt32>

Specifies the lifetime of a Main Mode security association (SA) in seconds, after which the SA is no longer valid.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-PassThru

작업 중인 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-PfsGroup<PfsGroup>

Specifies the PFS Group plumbed in Ipsec policy.

별칭

PfsGroupId

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-RevertToDefault

Indicates that the IPsec parameters revert to a default value

별칭

none

필수 여부

true

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-SADataSizeForRenegotiationKilobytes<UInt32>

Specifies the number of kilobytes that are allowed to transfer using a security association (SA), after which the SA will be renegotiated.

별칭

LifeTimeKiloBytes

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-SALifeTimeSeconds<UInt32>

Specifies the lifetime of a SA in seconds, after which the SA is no longer valid.

별칭

LifeTimeSeconds,QMSALifeTimeSeconds

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-SstpPorts<UInt32>

Specifies the number of SSTP ports.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-ThrottleLimit<Int32>

Specifies the maximum number of concurrent connections that can be established to run this command. If you omit this parameter or enter a value of 0, the default value, 32, is used.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-TunnelType<TunnelType>

Specifies the Tunnel Type to which Custom Policy is to be applied

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByPropertyName)

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지를 표시합니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행되는 경우 발생할 결과를 보여 줍니다. cmdlet은 실행되지 않습니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

<WorkflowParameters>

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • Microsoft.Management.Infrastructure.CimInstance#VpnServerIPsecConfiguration

Example 1: Modify the idle disconnect seconds of a VPN server

This command modifies the idle disconnect seconds of the VPN server.

PS C:\> Set-VpnServerIPsecConfiguration -IdleDisconnectSeconds 1000 -PassThru

Example 2: Plumb custom IPsec policy for incoming VPN connections

This command plumbs custom IPsec policy for incoming VPN connections and site to site VPN connections whose authentication method is not pre shared key.

PS C:\> Set-VpnServerIPsecConfiguration -CustomPolicy -EncryptionMethod "AES128" -DhGroup "Group2" -PfsGroup "PFS2" -CipherTransformConstants "AES128"  -IntegrityCheckMethod "SHA256" -AuthenticationTransformConstants "SHA256128" -PassThru

관련 항목

Get-VpnServerConfiguration