reserved two IPs for Xfinity-is-dumb

This commit is contained in:
Nickiel12 2023-04-07 22:30:36 -07:00
parent c1d9023ce8
commit 3b1f6ca960

View file

@ -15,6 +15,16 @@
];
networking = {
interfaces."enp2s0".ipv4.addresses = [
{
address = "10.0.0.184";
prefixLength = 24;
}
{
address = "10.0.0.183";
prefixLength = 24;
}
];
nat = {
enable = true;
internalInterfaces = ["ve-+"];
@ -23,14 +33,6 @@
# Lazy IPv6 connectivity for the container
enableIPv6 = true;
#forwardPorts = [
#{
# sourcePort = 80;
# proto = "tcp";
# destination = "192.168.100.11:80";
#}
#];
};
firewall = {
enable = true;