mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
kw.fw reorganising
This commit is contained in:
parent
afa161955d
commit
dc6982c5ce
7 changed files with 44 additions and 24 deletions
|
|
@ -77,8 +77,10 @@ with lib;
|
|||
|
||||
# Firewall
|
||||
|
||||
kw.fw.public.interfaces = singleton "enp1s0";
|
||||
kw.fw.private.interfaces = singleton "yggdrasil";
|
||||
kw.fw = {
|
||||
public.interfaces = singleton "enp1s0";
|
||||
private.interfaces = singleton "yggdrasil";
|
||||
};
|
||||
|
||||
# Host-specific DNS Config
|
||||
|
||||
|
|
|
|||
|
|
@ -79,10 +79,14 @@ with lib;
|
|||
interfaces.eno1.useDHCP = true;
|
||||
};
|
||||
|
||||
kw.dns.ipv4 = "192.168.1.223";
|
||||
|
||||
# Firewall
|
||||
|
||||
kw.fw.private.interfaces = singleton "yggdrasil";
|
||||
kw.fw.public.interfaces = singleton "eno1";
|
||||
kw.fw = {
|
||||
private.interfaces = singleton "yggdrasil";
|
||||
public.interfaces = singleton "eno1";
|
||||
};
|
||||
|
||||
# Yggdrasil
|
||||
|
||||
|
|
|
|||
|
|
@ -119,9 +119,12 @@ in {
|
|||
|
||||
# Firewall
|
||||
|
||||
kw.fw.private.interfaces = singleton "yggdrasil";
|
||||
kw.fw.public.interfaces = singleton "br";
|
||||
kw.fw.private.tcp.ports = [ 10445 ]; # VM Prometheus
|
||||
kw.fw = {
|
||||
public.interfaces = singleton "br";
|
||||
private = {
|
||||
interfaces = singleton "yggdrasil";
|
||||
};
|
||||
};
|
||||
|
||||
# Host-specific DNS Config
|
||||
|
||||
|
|
|
|||
|
|
@ -65,8 +65,10 @@ with lib;
|
|||
|
||||
# Firewall
|
||||
|
||||
kw.fw.private.interfaces = singleton "yggdrasil";
|
||||
kw.fw.public.interfaces = [ "enp1s0" "wlp2s0" ];
|
||||
kw.fw = {
|
||||
public.interfaces = [ "enp1s0" "wlp2s0" ];
|
||||
private.interfaces = singleton "yggdrasil";
|
||||
};
|
||||
|
||||
# Yggdrasil
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue