Compare commits
No commits in common. "54df2256b97526c24549bc16f909286fb3ab169f" and "716dfce84d75497507128441e00798dc9ed9bb4d" have entirely different histories.
54df2256b9
...
716dfce84d
@ -99,12 +99,7 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
interfaces-config = {
|
||||
interfaces = [ "enp1s0.201" "enp1s0.204" ];
|
||||
};
|
||||
lease-database = {
|
||||
name = "/var/lib/kea/dhcp4.leases";
|
||||
persist = true;
|
||||
type = "memfile";
|
||||
interfaces = [ "enp1s0.204" ];
|
||||
};
|
||||
option-def = [
|
||||
{
|
||||
@ -146,33 +141,7 @@
|
||||
}
|
||||
];
|
||||
subnet4 = [
|
||||
# Heimnetz
|
||||
{
|
||||
id = 201;
|
||||
subnet = "10.152.4.0/24";
|
||||
pools = [
|
||||
{
|
||||
pool = "10.152.4.100 - 10.152.4.240";
|
||||
}
|
||||
];
|
||||
option-data = [
|
||||
{
|
||||
name = "routers";
|
||||
data = "10.152.4.1";
|
||||
}
|
||||
{
|
||||
name = "domain-name-servers";
|
||||
data = "10.152.0.1";
|
||||
}
|
||||
{
|
||||
name = "domain-name";
|
||||
data = "net.clerie.de";
|
||||
}
|
||||
];
|
||||
}
|
||||
# VoIP
|
||||
{
|
||||
id = 204;
|
||||
subnet = "10.152.33.0/24";
|
||||
pools = [
|
||||
{
|
||||
@ -255,7 +224,6 @@
|
||||
};
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 53 60001 ];
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
|
||||
networking.firewall.extraCommands = ''
|
||||
iptables -A FORWARD -i enp1s0.202 -o ppp-ntvdsl -j ACCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user