up
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{...}: {
|
{
|
||||||
services.adguardhome = {
|
services.adguardhome = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
host = "0.0.0.0";
|
||||||
port = 10000;
|
port = 10000;
|
||||||
settings = {
|
settings = {
|
||||||
dns = {
|
dns = {
|
||||||
|
|||||||
@@ -11,9 +11,13 @@
|
|||||||
nameservers = ["1.1.1.1"];
|
nameservers = ["1.1.1.1"];
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
trustedInterfaces = ["tailscale0"];
|
trustedInterfaces = ["eno1" "tailscale0"];
|
||||||
allowedUDPPorts = [config.services.tailscale.port];
|
allowedUDPPorts = [
|
||||||
allowedTCPPorts = [22];
|
config.services.tailscale.port
|
||||||
|
];
|
||||||
|
allowedTCPPorts = [
|
||||||
|
22
|
||||||
|
];
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user