add wg0 as trusted interface in firewall
This commit is contained in:
parent
f99125eead
commit
809f83c040
2 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (secrets.wireguard_config) peers;
|
inherit (secrets.wireguard_config) peers;
|
||||||
in {
|
in {
|
||||||
|
networking.firewall.trustedInterfaces = ["wg0"];
|
||||||
networking.wireguard = {
|
networking.wireguard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (secrets.wireguard_config) peers;
|
inherit (secrets.wireguard_config) peers;
|
||||||
in {
|
in {
|
||||||
|
networking.firewall.trustedInterfaces = ["wg0"];
|
||||||
networking.wireguard = {
|
networking.wireguard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
|
|
Loading…
Reference in a new issue