• Stars
    star
    742
  • Rank 61,120 (Top 2 %)
  • Language
    Go
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Package wgctrl enables control of WireGuard interfaces on multiple platforms.

wgctrl Test Status Go Reference Go Report Card

Package wgctrl enables control of WireGuard devices on multiple platforms.

For more information on WireGuard, please see https://www.wireguard.com/.

MIT Licensed.

Overview

wgctrl can control multiple types of WireGuard devices, including:

  • Kernel module devices
    • Linux: via generic netlink
    • FreeBSD: via ioctl interface
    • OpenBSD: via ioctl interface (read-only)
    • Windows: via ioctl interface
  • Userspace devices via the userspace configuration protocol

As new operating systems add support for in-kernel WireGuard implementations, this package should also be extended to support those native implementations.

If you are aware of any efforts on this front, please file an issue.

This package implements WireGuard configuration protocol operations, enabling the configuration of existing WireGuard devices. Operations such as creating WireGuard devices, or applying IP addresses to those devices, are out of scope for this package.

More Repositories

1

wireguard-go

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-go
Go
3,068
star
2

wireguard-monolithic-historical

Historical monolithic WireGuard repository, split into wireguard-tools, wireguard-linux, and wireguard-linux-compat.
C
2,320
star
3

wireguard-windows

Download WireGuard for Windows at https://www.wireguard.com/install . This repo is a mirror only. Official repository is at https://git.zx2c4.com/wireguard-windows
Go
1,794
star
4

wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
Shell
1,458
star
5

wireguard-linux

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-linux
C
1,211
star
6

wireguard-android

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-android
Kotlin
1,032
star
7

wireguard-apple

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-apple
Swift
947
star
8

wireguard-rs

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-rs
Rust
465
star
9

wireguard-tools

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-tools
C
464
star
10

wintun

Mirror only. Official repository is at https://git.zx2c4.com/wintun
C
414
star
11

wg-dynamic

Mirror only. Official repository is at https://git.zx2c4.com/wg-dynamic
C
328
star
12

wireguard-linux-compat

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-linux-compat
C
94
star
13

wireguard-nt

This repo is a mirror only. Official repository is at https://git.zx2c4.com/wireguard-nt
C
89
star
14

android-wireguard-module-builder

Builder for WireGuard module for various Android kernels
Shell
62
star
15

wireguard-freebsd

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-freebsd
C
45
star
16

android_kernel_wireguard

Mirror only. Official repository is at https://git.zx2c4.com/android_kernel_wireguard
Shell
38
star