scriptbox/WireGuardMultiTunnel/WireGuard_multi_tunnel.bat

7 lines
193 B
Batchfile
Raw Permalink Normal View History

2022-01-31 01:48:16 +00:00
@echo off
if "%1"=="runas" (
cd %~dp0
) else (
powershell Start -File "cmd '/K %~f0 runas'" -Verb RunAs
)
reg add HKLM\Software\WireGuard /v MultipleSimultaneousTunnels /t REG_DWORD /d 1 /f