You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marvin Preuss
d23218c14d
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/tag/woodpecker Pipeline was successful
Details
|
2 years ago | |
---|---|---|
assets | 2 years ago | |
cmd | 2 years ago | |
init | 3 years ago | |
third_party | 2 years ago | |
tools/pidof | 2 years ago | |
vendor | 2 years ago | |
wgquick | 2 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 3 years ago | |
.goreleaser.yml | 2 years ago | |
.woodpecker.yml | 2 years ago | |
LICENSE | 3 years ago | |
Makefile | 2 years ago | |
README.md | 3 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
logo.png | 3 years ago | |
main.go | 2 years ago |
README.md
wg-quick like library with batteries included
This is a friendly fork of wg-quick-go. So all glory to them!!!11!! It contains everything needed to get a system into a wireguard vpn network. If there is no wireguard kernel modul available, it will spin up the embedded wireguard-go to create a wireguard interface.
Installation
Prebuild packages
Get these on the release page.
Homebrew
brew tap xsteadfastx/tap https://github.com/xsteadfastx/homebrew-tap
brew install wg-quicker
Compile it for yourself
git clone https://git.xsfx.dev/xsteadfastx/wg-quicker.git
cd wg-quicker
make build
Roadmap
- full wg-quick feature parity
- PreUp
- PostUp
- PreDown
- PostDown
- DNS
- MTU
- Save --> Use MarshallText interface to save config
- Sync
- Up
- Down
- MarshallText
- UnmarshallText
- Minimal test
- Embedded wireguard-go
- Integration tests ((TODO; have some virtual machines/kvm and wreck havoc :) ))
Caveats
- Endpoints DNS MarshallText is unsupported
- Pre/Post Up/Down doesn't support escaped
%i
, that is all%i
are expanded to interface name. - SaveConfig in config is only a placeholder (( since there's no reading/writing from files )). Use Unmarshall/Marshall Text to save/load config (( you're responsible for IO)).