summary refs log tree commit diff
path: root/nixos/modules/services/networking/wireguard.nix
Commit message (Collapse)AuthorAge
* wireguard module: add device name environment varFranz Pletz2017-11-05
| | | | | This makes the interface name available as an environment variable for the pre/post hooks.
* wireguard: fix function for adding routesJoerg Thalheim2017-09-25
|
* networking.wireguard: added `allowedIpsAsRoutes` boolean to control peer routesAndreas Rammhold2017-09-25
| | | | | | | Sometimes (especially in the default route case) it is required to NOT add routes for all allowed IP ranges. One might run it's own custom routing on-top of wireguard and only use the wireguard addresses to exchange prefixes with the remote host.
* wireguard: convert "table" to an interface optionevujumenuk2017-08-08
| | | Do the right thing, and use multiple interfaces for policy routing. For example, WireGuard interfaces do not allow multiple routes for the same CIDR range.
* wireguard: remove "table" option from exampleevujumenuk2017-08-04
| | | Most users will be served well by the default "table" setting ("main").
* wireguard: add per-peer routing table optionevujumenuk2017-08-04
| | | This adds a convenient per-peer option to set the routing table that associated routes are added to. This functionality is very useful for isolating interfaces from the kernel's global routing and forcing all traffic of a virtual interface (or a group of processes, via e.g. "ip rule add uidrange 10000-10009 lookup 42") through Wireguard.
* wireguard: sometimes module tries to re-add the default route, which fails - ↵Aristid Breitkreuz2017-07-23
| | | | use replace to make it succeed
* wireguard: allow not storing private keys in world-readable /nix/store (#27433)Aristid Breitkreuz2017-07-17
| | | * wireguard: allow not storing private keys in world-readable /nix/store
* wireguard: preshared-key is now an attribute of the peerJason A. Donenfeld2017-05-09
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fix indentation in several nixos option descriptionsmichael bishop2016-12-16
|
* wireguard: remove dependency on ip-up.targetlbonn2016-12-01
| | | | | | | It was deprecated and removed from all modules in the tree by #18319. The wireguard module PR (#17933) was still in the review at the time and the deprecated usage managed to slip inside.
* wireguard: add moduleEric Sagnes2016-10-06
fixes #17933