feat(hydrogen): blocky client lookup
This commit is contained in:
parent
5f3695a5a3
commit
0ae9cb327b
|
@ -8,6 +8,7 @@
|
||||||
networking = {
|
networking = {
|
||||||
hostName = name;
|
hostName = name;
|
||||||
domain = "fainsin.bzh";
|
domain = "fainsin.bzh";
|
||||||
|
nameservers = [ "127.0.0.1" "1.1.1.1" "1.0.0.1" ];
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
22 # ssh
|
22 # ssh
|
||||||
|
@ -52,6 +53,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
upstream.default = [ "208.67.222.222" "208.67.220.220" ];
|
upstream.default = [ "208.67.222.222" "208.67.220.220" ];
|
||||||
|
clientLookup.clients = {
|
||||||
|
hydrogen = [ "10.0.0.1" "127.0.0.1" ];
|
||||||
|
pixel5 = [ "10.0.0.2" ];
|
||||||
|
neodymium = [ "10.0.0.3" ];
|
||||||
|
};
|
||||||
blocking = {
|
blocking = {
|
||||||
refreshPeriod = "24h";
|
refreshPeriod = "24h";
|
||||||
clientGroupsBlock.default =
|
clientGroupsBlock.default =
|
||||||
|
|
Loading…
Reference in a new issue