Update docs
This commit is contained in:
parent
19053cb9d7
commit
836a67172f
@ -77,7 +77,9 @@
|
||||
# 不保存命令行历史记录
|
||||
Set-PSReadlineOption –HistorySaveStyle SaveNothing
|
||||
# 创建 VPN 连接
|
||||
Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress '你的 VPN 服务器 IP' -L2tpPsk '你的 VPN IPsec PSK' -TunnelType L2tp -EncryptionLevel Required -AuthenticationMethod Chap,MSChapv2 -Force -RememberCredential -PassThru
|
||||
Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress '你的 VPN 服务器 IP' ^
|
||||
-L2tpPsk '你的 VPN IPsec PSK' -TunnelType L2tp -EncryptionLevel Required ^
|
||||
-AuthenticationMethod Chap,MSChapv2 -Force -RememberCredential -PassThru
|
||||
# 忽略 data encryption 警告(数据在 IPsec 隧道中已被加密)
|
||||
```
|
||||
|
||||
|
@ -77,7 +77,9 @@ Alternatively, instead of following the steps above, you may create the VPN conn
|
||||
# Disable persistent command history
|
||||
Set-PSReadlineOption –HistorySaveStyle SaveNothing
|
||||
# Create VPN connection
|
||||
Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress 'Your VPN Server IP' -L2tpPsk 'Your VPN IPsec PSK' -TunnelType L2tp -EncryptionLevel Required -AuthenticationMethod Chap,MSChapv2 -Force -RememberCredential -PassThru
|
||||
Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress 'Your VPN Server IP' ^
|
||||
-L2tpPsk 'Your VPN IPsec PSK' -TunnelType L2tp -EncryptionLevel Required ^
|
||||
-AuthenticationMethod Chap,MSChapv2 -Force -RememberCredential -PassThru
|
||||
# Ignore the data encryption warning (data is encrypted in the IPsec tunnel)
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user