LoginSignup
0
2

More than 5 years have passed since last update.

Windows ServerによるGroup Policyの適用でVPNを作成したときにDefault GatewayをVPNにする

Posted at

VPNを作ってもデフォルトゲートウェイがVPNじゃなくて意味がない

Computer Configuration -> Preferences -> Control Panel Settings -> Network Options からVPNを作成する時に、Windowsいくつかから(確実に10はおかしい)、デフォルトゲートウェイがVPNではないので対応策メモ。

iniの書き換え

なぜかIPv6の設定だけ書き変えられるという状態で、いくらVPNの設定をいじっても変えられなかった。
よってVPN接続設定の実態であるiniファイルを書き換える。

Computer Configuration -> Preferences -> Windows Settings -> ini Files

からNew -> ini Fileで新規設定を作り

File Path: C:\ProgramData\Microsoft\Network\Connections\pbk\rasphone.pbk
Section Name: VPN接続名
Property Name: IpPrioritizeRemote
Property Value: 1
0
2
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
0
2