Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreygubarev/docker-wireguard
Docker Image for WireGuard
https://github.com/andreygubarev/docker-wireguard
docker docker-image wireguard
Last synced: 7 days ago
JSON representation
Docker Image for WireGuard
- Host: GitHub
- URL: https://github.com/andreygubarev/docker-wireguard
- Owner: andreygubarev
- License: mit
- Created: 2023-11-06T21:36:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-07T00:18:08.000Z (about 1 year ago)
- Last Synced: 2024-10-10T22:15:01.739Z (29 days ago)
- Topics: docker, docker-image, wireguard
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Image for WireGuard
## Installation
```bash
docker pull ghcr.io/andreygubarev/wireguard:latest
```## Usage
```bash
docker run \
--name wireguard \
--cap-add NET_ADMIN \
--sysctl "net.ipv4.conf.all.src_valid_mark=1" \
-v "$(pwd)/wg0.conf:/etc/wireguard/wg0.conf:ro" \
ghcr.io/andreygubarev/wireguard:latest
```# References
- Patch for `src_valid_mark` sysctl: https://lists.zx2c4.com/pipermail/wireguard/2023-February/007936.html