Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cab404/wg-bond
Wireguard configuration made easy
https://github.com/cab404/wg-bond
nixops nixos wg-quick wireguard wireguard-configuration
Last synced: 3 months ago
JSON representation
Wireguard configuration made easy
- Host: GitHub
- URL: https://github.com/cab404/wg-bond
- Owner: cab404
- License: gpl-3.0
- Created: 2020-08-06T16:42:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-11T13:54:18.000Z (about 1 year ago)
- Last Synced: 2024-10-12T00:05:48.391Z (3 months ago)
- Topics: nixops, nixos, wg-quick, wireguard, wireguard-configuration
- Language: Rust
- Homepage:
- Size: 1.12 MB
- Stars: 26
- Watchers: 4
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
wg-bond
=======Easy Wireguard configurator.
![preview](./peek.gif)
I didn't write any documentation yet, but `--help` option is available.
## NixOps example
```bash
# Initialize a config:
wgbond init wgvpn# Add server:
wgbond add server \
--endpoint example.com:42000 \
--nixops \ # Include into NixOps export
--center \ # Make clients use this peer as gateway
--gateway \ # And get internet through it
--masquerade eth0 # And forward via eth0wgbond add phone --keepalive 30
# Generate and push config to your NixOps cluster
wgbond nixops > wg.nix
nixops modify wg.nix machines.nix
nixops deploy# Generate config for your phone
wgbond qr phone```
## Developing
Use [VSCodium](https://vscodium.com/) + [Nix](https://nixos.org/nix) for the best experience.
Just add recommended extensions, and you are good to go.