firewall: I think this is the correct network config for the firewall

This commit is contained in:
silver 2023-05-10 11:40:28 +01:00
parent 5579de7e7c
commit a5d6ca55ed

View file

@ -14,7 +14,7 @@ let
# name of the server, sets teh hostname and record for it
name = "agentjones";
ip_pub = "193.1.99.72";
ip_priv = "172.20.20.1";
ip_priv = "193.1.99.125";
hostname = "${name}.skynet.ie";
in {
@ -48,32 +48,21 @@ in {
# this has to be defined for any physical servers
# vms are defined by teh vm host
networking.interfaces = {
# eno1 = {
# ipv4.addresses = [
# {
# address = "193.1.99.72";
# prefixLength = 26;
# }
# ];
# ipv4.routes = [
# {
# address = "193.1.99.72";
# prefixLength = 26;
# via = "193.1.99.65";
# }
# ];
# };
eno2 = {
#useDHCP = false;
eno1 = {
ipv4.addresses = [
{
address = "193.1.99.72";
prefixLength = 26;
}
];
};
eno2 = {
#useDHCP = false;
ipv4.addresses = [
{
# internal address
address = "193.1.99.125";
prefixLength = 24;
prefixLength = 26;
}
];
};