WIP: router: wireguard: someone forgot to add the network config for the wireguard interface

This commit is contained in:
Yuri Tatishchev 2025-05-22 00:28:41 -07:00
parent 1c0871f54e
commit 38ece9125b
Signed by: CaZzzer
SSH Key Fingerprint: SHA256:sqXB3fe0LMpfH+IeM/vlmxKdso52kssrIJBlwKXVe1U

View File

@ -53,4 +53,15 @@ in
}]) [] wg0Peers;
};
};
systemd.network.networks = {
"10-wg0" = {
matchConfig.Name = "wg0";
networkConfig = {
IPv4Forwarding = true;
IPv6SendRA = false;
Address = [ "10.6.0.1/24" "${vars.extra.opnsense.p6}::6:0:1/96" ];
};
};
};
}