wsl-vpnkit

Provides network connectivity to WSL 2 when blocked by VPN

MIT License

Stars
2.3K
Committers
8

Bot releases are visible (Hide)

wsl-vpnkit - v0.4.1 Latest Release

Published by sakai135 over 1 year ago

The release assets were generated from Distro #61

  • allow overriding of more config values via environment variable
  • fallback to /etc/resolv.conf if /mnt/wsl/resolv.conf is unavailable

Before Upgrading from v0.3.x

v0.4 does not support running wsl-vpnkit using wsl.exe -d wsl-vpnkit service wsl-vpnkit start.

A systemd service file is provided to help you setup a systemd service in your distro to run wsl-vpnkit in the background. This change was made since systemd is the official Microsoft-supported way to run background tasks in WSL 2.

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.4.0...v0.4.1

wsl-vpnkit - v0.4.0

Published by sakai135 over 1 year ago

The release assets were generated from Distro #50

  • use unmodified gvisor-tap-vsock v0.6.1 binaries (thanks @gbraad @cfergeau)
  • switched service to use systemd (thanks @bmayfi3ld for #175)
  • removed use of config file
  • removed use of DHCP
  • run wsl-gvproxy.exe from wsl-vpnkit distro

Before Upgrading from v0.3.x

v0.4 does not support running wsl-vpnkit using wsl.exe -d wsl-vpnkit service wsl-vpnkit start.

A systemd service file is provided to help you setup a systemd service in your distro to run wsl-vpnkit in the background. This change was made since systemd is the official Microsoft-supported way to run background tasks in WSL 2.

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.8...v0.4.0

wsl-vpnkit - v0.3.8

Published by sakai135 almost 2 years ago

The release assets were generated from Distro #24

  • Fix service script (thanks @josesa-xx)

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.7...v0.3.8

https://www.virustotal.com/gui/file/e9ca88be09c6d5abdafd569f470bce9a1bf15753566a05fe070f54c8240c12c5

wsl-vpnkit - v0.3.7

Published by sakai135 almost 2 years ago

The release assets were generated from Distro #21

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.6...v0.3.7

https://www.virustotal.com/gui/file/e9ca88be09c6d5abdafd569f470bce9a1bf15753566a05fe070f54c8240c12c5

wsl-vpnkit - v0.3.6

Published by sakai135 almost 2 years ago

The release assets were generated from Distro #14

  • Fix an issue with v0.3.5 where the process immediately exited when started in the background with the service script (#165)

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.5...v0.3.6

https://www.virustotal.com/gui/file/b9a750b8d782a59590b9bc62207771c12e7ab323d1e72dc2e8dc22c2f7155856

wsl-vpnkit - v0.3.5

Published by sakai135 almost 2 years ago

The release assets were generated from Distro #10

  • better service script with status/restart
  • updated to Alpine 3.16.3

What's Changed

New Contributors

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.4...v0.3.5

https://www.virustotal.com/gui/file/b9a750b8d782a59590b9bc62207771c12e7ab323d1e72dc2e8dc22c2f7155856

wsl-vpnkit - v0.3.4

Published by sakai135 about 2 years ago

The release assets were generated from Build #224

  • update to Go 1.18.5
  • update to Alpine 3.16.2
  • update to gvisor-tap-vsock v0.4.0

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.2...v0.3.4

https://www.virustotal.com/gui/file/b9a750b8d782a59590b9bc62207771c12e7ab323d1e72dc2e8dc22c2f7155856

wsl-vpnkit - v0.2.6

Published by sakai135 about 2 years ago

The release assets were generated from Build #219

  • update to Alpine 3.16.1

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.2.5...v0.2.6

wsl-vpnkit - v0.3.2

Published by sakai135 over 2 years ago

The release assets were generated from Build #159

  • update distro base image to Alpine 3.15.4
  • disable cmd AutoRun commands

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.1...v0.3.2

https://www.virustotal.com/gui/file/4cd8c7532b286040b1d7bbe19bb2f79ad56e0c4ec9876eb2448174d0bd1e8fad

wsl-vpnkit - v0.3.1

Published by sakai135 over 2 years ago

The release assets were generated from Build #151

  • update to Go 1.18
  • install to GVPROXY_PATH

What's Changed

New Contributors

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.3.0...v0.3.1

https://www.virustotal.com/gui/file/4cd8c7532b286040b1d7bbe19bb2f79ad56e0c4ec9876eb2448174d0bd1e8fad

wsl-vpnkit - v0.3.0

Published by sakai135 over 2 years ago

The release assets were generated from Build #131

  • changed to use gvisor-tap-vsock

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.2.5...v0.3.0

https://www.virustotal.com/gui/file/74696ca9e3eb502760e2c9f7eeac42c1785e2c29c7354c4263f51e498c13a379

wsl-vpnkit - v0.2.5

Published by sakai135 over 2 years ago

The release assets were generated from Build #112

  • added example config file
  • added option for http proxy config
  • added option for max port idle time

What's Changed

New Contributors

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.2.4...v0.2.5

wsl-vpnkit - v0.2.4

Published by sakai135 almost 3 years ago

The release assets were generated from Build #93

  • Use symbolic link to run npiperelay.exe to handle spaces in path

Resolves #71

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.2.3...v0.2.4

wsl-vpnkit - v0.2.3

Published by sakai135 almost 3 years ago

The release assets were generated from Build #90

  • Updated VPNKit binaries to those built from source, removing the dependency on Docker Desktop
  • Added new option DNS_IP to set the actual DNS server to use with default WSL 2 config
  • Added simple connectivity checks on start

Resolves #65/#68
https://github.com/sakai135/vpnkit/releases/tag/v0.5.0-20211026

What's Changed

New Contributors

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.2.2...v0.2.3

wsl-vpnkit - v0.2.2

Published by sakai135 about 3 years ago

The release assets were generated from Build #61

  • Fixes DNS when running Docker containers without help from Docker Desktop integrations.
  • Ports on Windows host machine is accessible from the WSL 2 host machine IP to keep in line with MS WSL documentation
  • The startup script now shows current version

Resolves #47, #53

What's Changed

Full Changelog: https://github.com/sakai135/wsl-vpnkit/compare/v0.2.1...v0.2.2

wsl-vpnkit -

Published by sakai135 about 3 years ago

See the README for how to setup. The release assets were generated from Build #28.

Use the WSL 2 PATH env integration to handle Windows executables.

Resolves #38 with #40

wsl-vpnkit - v0.2.0

Published by sakai135 about 3 years ago

See the README for how to setup. The release assets were generated from this action.

If currently using a previous version of the script, update the script used to automatically run wsl-vpnkit, if any, and update or delete your wsl.conf and resolv.conf.

Install wsl-vpnkit as a separate distro

  • simplifies installation/uninstallation
  • removes the need for any internet connectivity from the WSL 2 VM for installation
  • eliminates script incompatibility with different shells and dependency versions
  • script could still be used independently if desired

Use iptables to redirect DNS and other requests to the VPNKit DNS relay and gateway

  • no need to edit wsl.conf
  • no need to edit resolv.conf

#37

wsl-vpnkit - v0.1.0

Published by sakai135 about 3 years ago

See the README for how to setup.

Tagging here to mark the state before v0.2.0.