use updated listenPorts
This commit is contained in:
parent
99f56aa89a
commit
83e6841a7f
2 changed files with 2 additions and 4 deletions
|
@ -9,10 +9,9 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
inherit (peers."${config.networking.hostName}") ips;
|
inherit (peers."${config.networking.hostName}") ips listenPort;
|
||||||
privateKeyFile = "/etc/wireguard/private.key";
|
privateKeyFile = "/etc/wireguard/private.key";
|
||||||
generatePrivateKeyFile = true;
|
generatePrivateKeyFile = true;
|
||||||
listenPort = 51820;
|
|
||||||
peers = with peers; [
|
peers = with peers; [
|
||||||
Proxy.peer
|
Proxy.peer
|
||||||
];
|
];
|
||||||
|
|
|
@ -9,10 +9,9 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
inherit (peers."${config.networking.hostName}") ips;
|
inherit (peers."${config.networking.hostName}") ips listenPort;
|
||||||
privateKeyFile = "/etc/wireguard/private.key";
|
privateKeyFile = "/etc/wireguard/private.key";
|
||||||
generatePrivateKeyFile = true;
|
generatePrivateKeyFile = true;
|
||||||
listenPort = 51820;
|
|
||||||
peers = with peers; [
|
peers = with peers; [
|
||||||
Proxy.peer
|
Proxy.peer
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue