mirror of
https://github.com/shokinn/.files.git
synced 2025-01-19 05:22:25 +00:00
Add cmd to start the vpn-kit wsl2 instance
This commit is contained in:
parent
d5d3d37a68
commit
80c99dc027
|
@ -23,3 +23,8 @@ export DOTNET_ROOT
|
||||||
XDG_CONFIG_HOME="{{@@ env['HOME'] @@}}/.config"
|
XDG_CONFIG_HOME="{{@@ env['HOME'] @@}}/.config"
|
||||||
export XDG_CONFIG_HOME
|
export XDG_CONFIG_HOME
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
|
||||||
|
# Run VPN-Kit alpine VM to route traffic through Windows and if connected through VPNs
|
||||||
|
wsl.exe -d wsl-vpnkit service wsl-vpnkit start
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
Loading…
Reference in a new issue