Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. config, pkgs, ... }:
  2.  
  3. {
  4. # environment.etc.openvpn.source = "${pkgs.update-resolv-conf}/libexec/openvpn";
  5.  
  6. networking.wireguard.interfaces = {
  7. wg0 = {
  8. ips = [ "10.64.74.115/32" ];
  9.  
  10. privateKey ="censored"; # only here for testing purposes
  11.  
  12. peers = [
  13. {
  14. publicKey = "censored";
  15. allowedIPs = [ "0.0.0.0/0" "::0/0" ];
  16.  
  17. endpoint = "censored";
  18. persistentKeepalive = 25;
  19. }
  20. ];
  21. };
  22. };
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement