Basic Adguard config.
This commit is contained in:
parent
081202bba6
commit
01d4dd8936
1 changed files with 16 additions and 0 deletions
|
@ -72,6 +72,22 @@
|
|||
};
|
||||
|
||||
services = {
|
||||
adguardhome = {
|
||||
enable = true;
|
||||
port = 80;
|
||||
settings = {
|
||||
filtering = {
|
||||
protection_enabled = true;
|
||||
filtering_enabled = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
caddy = {
|
||||
enable = true;
|
||||
virtualHosts."router.tailc50184.ts.net".extraConfig = ''
|
||||
reverse_proxy localhost:88
|
||||
'';
|
||||
};
|
||||
udev.extraRules = ''
|
||||
ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:e2:69:96:fb:67", NAME="wan"
|
||||
ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:e2:69:96:fb:68", NAME="lan0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue