Fix wireguard subnet
This commit is contained in:
parent
bb3da2a7df
commit
4484fe779d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ networking = {
|
||||||
firewall.allowedUDPPorts = [ wireguard.port ];
|
firewall.allowedUDPPorts = [ wireguard.port ];
|
||||||
wireguard.interfaces = {
|
wireguard.interfaces = {
|
||||||
m0wire = {
|
m0wire = {
|
||||||
ips = [ "${hosts.hera-wg}/96" ];
|
ips = [ "${hosts.hera-wg}/112" ];
|
||||||
privateKeyFile = "/etc/nixos/hosts/hera/secret/wireguard-private";
|
privateKeyFile = "/etc/nixos/hosts/hera/secret/wireguard-private";
|
||||||
listenPort = wireguard.port;
|
listenPort = wireguard.port;
|
||||||
peers = [
|
peers = [
|
||||||
|
|
Loading…
Reference in a new issue