Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions modules/profiles/networking/blocky/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{ pkgs, lib, ... }: {
{ pkgs, lib, ... }:
let
routerUpstream = "192.168.1.1:5335";
in
{
imports = [
./postgresql.nix
./redis.nix
Expand Down Expand Up @@ -55,8 +59,13 @@
];
ps5 = [
(pkgs.writeText "ps5-allowlist.txt" ''
beacons4.gvt2.com
checkout.ea.com
googleads.g.doubleclick.net
insights-collector.newrelic.com
pin-river.data.ea.com
rtm.tnt-ea.com
sdk.split.io
smetrics.aem.playstation.com
static.doubleclick.net
'')
Expand All @@ -79,7 +88,7 @@
maxItemsCount = 0;
};
clientLookup = {
upstream = "192.168.1.1:5335";
upstream = routerUpstream;
singleNameOrder = [
1
2
Expand All @@ -88,12 +97,13 @@
conditional = {
mapping =
let
reverseDnsServer = "192.168.1.1:5335";
reverseDnsServer = routerUpstream;
addresses = [
"arpa"
"1.168.192.in-addr.arpa"
"168.192.in-addr.arpa"
"10.10.in-addr.arpa"
"10.in-addr.arpa"
"."
];
in
Expand Down
Loading