This commit is contained in:
Hadi
2024-06-23 23:43:47 +02:00
parent d5aa5b1a49
commit 1d298c60d5
3 changed files with 20 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
# Change your router primary DNS server to {this server IP} to make it network wide.
{
services.adguardhome = {
enable = false;
enable = true;
host = "0.0.0.0";
port = 3000;
allowDHCP = true;

View File

@@ -1,3 +1,5 @@
# I'm using the transmission-openvpn docker image to be sure that my torrent traffic is going through a VPN.
# Only to download legal stuff of course.
{
environment.etc."/etc/transmission.sh" = {
text = ''
@@ -15,7 +17,8 @@
haugene/transmission-openvpn
'';
};
# launch the container at boot
# TODO: launch the container at boot
networking.firewall.allowedTCPPorts = [ 9091 ];
networking.firewall.allowedUDPPorts = [ 9091 ];
}