refs #8159 README improved

This commit is contained in:
Juan Ferrer 2024-11-12 17:22:12 +00:00
parent 669c969c04
commit 17ff201848
1 changed files with 7 additions and 5 deletions

View File

@ -2,18 +2,20 @@
Script to automate VPN connection creation on Windows. Script to automate VPN connection creation on Windows.
You need to execute this script as administrator. Connection can be created globally or for the current user by using the
*allUsers* paramenter, CA certificate must always be installed globally
regardless of who the connection is created for.
To be able to execute it you have to manually run the following commnand in To be able to execute the script you have to manually run the following
PowerShell (also as administrator). commnand in PowerShell (as administrator).
``` ```
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
``` ```
To avoid DNS issues because of Windows 10 "smart multi-homed name resolution" To avoid DNS issues because of Windows 10 "smart multi-homed name resolution"
you have to manually (it cannot be done via scripting) change the connection VPN connection metric should be set to the lowest one, it is done automatically
metric under: by the script but it can be done manually from:
- VPN connection > Properties > Networking > TCP/IPv4 > Properties > Advanced... - VPN connection > Properties > Networking > TCP/IPv4 > Properties > Advanced...
- Disable "Automatic metric" and set "Interface metric" to 1. - Disable "Automatic metric" and set "Interface metric" to 1.