반응형

powershell 에서 해당 vpn 의 SplitTunneling 을 false 에서 true 로 변경 후 재접속

PS C:\Users\hskim> Get-VpnConnection                                                    


Name                  : VPN_NAME
ServerAddress         : XXX.XXX.XXX.XXX
AllUserConnection     : False
Guid                  : {12345678-ABCD-1234-ABCD-1234567890AB}
TunnelType            : L2tp
AuthenticationMethod  : {MsChapv2}
EncryptionLevel       : Optional
L2tpIPsecAuth         : Psk
UseWinlogonCredential : False
EapConfigXmlStream    :
ConnectionStatus      : Disconnected
RememberCredential    : True
SplitTunneling        : False
DnsSuffix             :
IdleDisconnectSeconds : 0


PS C:\Users\hskim> Set-VpnConnection -name VPN_NAME -splitTunneling $true
PS C:\Users\hskim> Get-VpnConnection


Name                  : VPN_NAME
ServerAddress         : XXX.XXX.XXX.XXX
AllUserConnection     : False
Guid                  : {12345678-ABCD-1234-ABCD-1234567890AB}
TunnelType            : L2tp
AuthenticationMethod  : {MsChapv2}
EncryptionLevel       : Optional
L2tpIPsecAuth         : Psk
UseWinlogonCredential : False
EapConfigXmlStream    :
ConnectionStatus      : Disconnected
RememberCredential    : True
SplitTunneling        : True
DnsSuffix             :
IdleDisconnectSeconds : 0



PS C:\Users\hskim> 
반응형
Posted by FeliZ_하늘..
,