发新话题
打印

Wireguard VPN Windows客户端高级设置

Wireguard VPN Windows客户端高级设置

http://www.trustcomputing.com.cn/tools/wgclient.reg

可执行PreUp, PostUp, PreDown, and PostDown命令
HKLM\Software\WireGuard\DangerousScriptExecution
When this key is set to DWORD(1), the tunnel service will execute the commands specified in the PreUp, PostUp, PreDown, and PostDown options of a tunnel configuration. Note that this execution is done as the Local System user, which runs with the highest permissions on the operating system, and is therefore a real target of malware. Therefore, you should enable this option only with the utmost trepidation. Rather than use %i, WireGuard for Windows instead sets the environment variable WIREGUARD_TUNNEL_NAME to the name of the tunnel when executing these scripts.

同时多条隧道连接
HKLM\Software\WireGuard\MultipleSimultaneousTunnels
When this key is set to DWORD(1), the UI may start multiple tunnels at the same time; otherwise, an existing tunnel is stopped when a new one is started. Note that it is always possible, regardless of this key, to start multiple tunnels using wireguard /installtunnelservice; this controls only the semantics of tunnel start requests coming from the UI. If all goes well, this key will be removed and the logic of whether to stop existing tunnels will be based on overlapping routes, but for now, this key provides a manual override.

TOP

发新话题