parent
4498c4b11e
commit
c3fb26a182
1 changed files with 10 additions and 2 deletions
|
@ -5,6 +5,14 @@
|
|||
zerotierInterface,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
# todo : check if reference works again
|
||||
#zerotierSubnet = config.clan.core.networking.zerotier.subnet;
|
||||
zerotierSubnet = "fdb3:fdc0:b880:37a1:3a99:9300::/88";
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [
|
||||
7878
|
||||
|
@ -79,7 +87,7 @@
|
|||
extraConfig = ''
|
||||
allow ${config.tinc.private.subnet};
|
||||
allow ${config.wireguard.wg0.subnet};
|
||||
allow ${config.clan.core.networking.zerotier.subnet};
|
||||
allow ${zerotierSubnet};
|
||||
deny all;
|
||||
'';
|
||||
locations."/" = {
|
||||
|
@ -92,7 +100,7 @@
|
|||
extraConfig = ''
|
||||
allow ${config.tinc.private.subnet};
|
||||
allow ${config.wireguard.wg0.subnet};
|
||||
allow ${config.clan.core.networking.zerotier.subnet};
|
||||
allow ${zerotierSubnet};
|
||||
deny all;
|
||||
'';
|
||||
locations."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue