4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Windows10】VPNに接続できない or 接続試行中 【L2TP IPSec】

4
Posted at

はじめに

現場のPCで開発環境に接続できなくて困った話し。
手順書通りにVPNを設定したのに。。。

今回だけではなく、また起きそうな事象だった為、
備忘録に書きます。

対象になる人

アダプターの設定が下記の人。
◾︎VPNの種類
L2TP/IPSec

上記の種類で現場の環境に合わせて設定しても、
接続試行中のままだったりする人。

対処法

※レジストリを弄るため、自己責任でお願いします!

Win + Rキーで「regedit」
管理者として、実行!

HKEY_LOCAL_MACHINE
∟SYSTEM
∟CurrentControlSet
∟Services
∟PolicyAgent

メニューの編集→新規→「DWORD(32ビット)値」

追加された「新しい値#1」を右クリック
→「名前の変更」
下記にする。
AssumeUDPEncapsulationContextOnSendRule

変更したそれをダブルクリックし、
値のデータを数値の「2」に変更する。
※カギカッコは、間違えても入力しないこと。

PCを再起動すると設定が有効になる。

終わりに

自分は、現場で繋がらなくて焦りました。
下記のサイトのお陰でなんとかなりました。
自分の復習と備忘録を兼ねて今回、書きました。

以上です。

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?