Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/metabronx/blackstrap_wsl-kernel
- Owner: metabronx
- Created: 2023-02-20T04:33:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T19:21:01.000Z (over 1 year ago)
- Last Synced: 2024-11-21T16:37:25.058Z (3 months ago)
- Topics: connmark, docker, kernel, linux-kernel, skunkworks, tools, windows-subsystem-for-linux, wireguard, wsl2
- Language: Dockerfile
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.