Skip to content

Commit

Permalink
dn wg-link
Browse files Browse the repository at this point in the history
  • Loading branch information
ALinkbetweenNets committed Nov 3, 2023
1 parent f0b48bd commit 9cea8a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions machines/dn/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
secrets = "/home/l/.keys";
wireguard.enable = true;
wg-deep.enable = true;
wg-link.enable = true;
eth = "enp111s0";
};
networking = {
Expand Down
4 changes: 2 additions & 2 deletions modules/wg-link/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ in {
# 10.0.0.1 jitsi.linkserver.org
# '';
networking.firewall.allowedUDPPorts = [ 51820 ];
networking.firewall.checkReversePath =mkForce false;
networking.firewall.checkReversePath = mkForce false;
networking.wireguard.interfaces = {
wg-link = {
ips = [ "10.0.1.2/24" "fdc9:281f:04d7:9eea::2/64" ];
listenPort = 51820;
# listenPort = 51821;
# dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
privateKeyFile = "${config.link.secrets}/wg-link-l.private";
peers = [
Expand Down

0 comments on commit 9cea8a0

Please sign in to comment.