Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/metabronx/blackstrap_wsl-kernel

Windows Subsystem for Linux kernel for CONNMARK applications.
https://github.com/metabronx/blackstrap_wsl-kernel

connmark docker kernel linux-kernel skunkworks tools windows-subsystem-for-linux wireguard wsl2

Last synced: 15 days ago
JSON representation

Windows Subsystem for Linux kernel for CONNMARK applications.

Awesome Lists containing this project

README

        

# blackstrap WSL kernel

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/metabronx/blackstrap-wsl-kernel/build.yaml?label=latest%20build&style=flat-square)

A Windows Subsystem for Linux kernel originally built for blackstrap VPN.

This kernel can be used wherever WSL needs to support applications that require `CONNMARK`, like Wireguard in Docker ().

The Dockerfile pulls and builds the latest released version of the WSL Linux kernel from . Building the kernel takes 10-15 minutes.

The built kernel is saved to `/wsl-kernel` within the image and can be copied out for use:

```powershell
# build
docker build . -t blackstrap-wsl-kernel

# extract kernel image
docker create --name blackstrap-wsl-kernel
docker cp blackstrap-wsl-kernel:/wsl-kernel PATH_TO_SAVE
docker rm blackstrap-wsl-kernel
```

To use it, specify the custom kernel in your `~/.wslconfig` file and restart WSL with `wsl --shutdown`. Also ensure to escape the path (`\` should be `\\`) you set.

```plain
[wsl2]
kernel=PATH_TO_KERNEL
```

# License

Put a license here.