Updates!
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
*.ycombinator.com {
|
||||
news.ycombinator.com {
|
||||
template IN A {
|
||||
answer "{{ .Name }} 0 IN A 127.0.0.1"
|
||||
}
|
||||
@@ -70,6 +70,18 @@
|
||||
answer "{{ .Name }} 0 IN A 127.0.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
4chan.org {
|
||||
template IN A {
|
||||
answer "{{ .Name }} 0 IN A 127.0.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
*.4chan.org {
|
||||
template IN A {
|
||||
answer "{{ .Name }} 0 IN A 127.0.0.1"
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,7 +32,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [{
|
||||
device = "/swap";
|
||||
size = (8 * 1024);
|
||||
}];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
networking = {
|
||||
hostName = "eve-psr-nix0";
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 22 80 443 5000 23231 23232 23233 20443 ];
|
||||
allowedUDPPorts = [ 53 51820 config.services.tailscale.port 20443 ];
|
||||
allowedTCPPorts = [ 22 80 443 4242 5000 23231 23232 23233 20443 ];
|
||||
allowedUDPPorts = [ 53 4242 51820 config.services.tailscale.port 20443 ];
|
||||
extraCommands = ''
|
||||
iptables -t nat -A POSTROUTING -s 100.64.0.0/10 -o enp1s0 -j MASQUERADE
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user