Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config, pkgs, ... }:
- {
- # environment.etc.openvpn.source = "${pkgs.update-resolv-conf}/libexec/openvpn";
- networking.wireguard.interfaces = {
- wg0 = {
- ips = [ "10.64.74.115/32" ];
- privateKey ="censored"; # only here for testing purposes
- peers = [
- {
- publicKey = "censored";
- allowedIPs = [ "0.0.0.0/0" "::0/0" ];
- endpoint = "censored";
- persistentKeepalive = 25;
- }
- ];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement