setup listen ports

This commit is contained in:
Adithya 2023-10-08 16:13:44 +05:30
parent ba9eb87118
commit 0a4bf6110a
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@ in {
ips = peers."${config.networking.hostName}".allowedIPs; ips = peers."${config.networking.hostName}".allowedIPs;
privateKeyFile = "/etc/wireguard/private.key"; privateKeyFile = "/etc/wireguard/private.key";
generatePrivateKeyFile = true; generatePrivateKeyFile = true;
listenPort = 51820;
peers = with peers; [ peers = with peers; [
Proxy Proxy
Skipper Skipper

View file

@ -12,6 +12,7 @@ in {
ips = peers."${config.networking.hostName}".allowedIPs; ips = peers."${config.networking.hostName}".allowedIPs;
privateKeyFile = "/etc/wireguard/private.key"; privateKeyFile = "/etc/wireguard/private.key";
generatePrivateKeyFile = true; generatePrivateKeyFile = true;
listenPort = 51820;
peers = with peers; [ peers = with peers; [
Proxy Proxy
Rico2 Rico2