Skip to content

avkvak/wsl-vpn

 
 

Repository files navigation

wsl-vpn

This is a repository to script in the wrokaround for WSL2 connectivity over VPN based on Keiichi Shimamura work.

The solution utilises Docker's VPNKit and Jeff Trotman's npiperelay to tunnel the connectivity

Getting started

Once you have pulled the repoistory into your WSL2 environment you have two options

Option 1:

This is the preferred option since it gurantees fresh copies of all the dependencies to run the tunnel.

  1. Install Docker Desktop on your windows machine.
  2. run sudo ./wsl-vpnkit-setup.sh from within this folder

Option 2:

If you prefer not to install Docker on your windows machine, you can run sudo ./wsl-vpnkit-setup.sh --no-docker which would download the required files.

Removal

In case you want to remove and/or re-install the wsl-vpn files, you can run:

  1. sudo ./wsl-vpnkit-unsetup.sh

Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%