qbittorrent wip

This commit is contained in:
Henri Dohmen 2026-03-23 00:04:05 +01:00
parent 1af477fdd3
commit 65c5bcdd0d
5 changed files with 96 additions and 2 deletions

View file

@ -35,6 +35,7 @@ in
firewall = {
enable = true;
checkReversePath = "loose";
interfaces."wg0" = {
allowedTCPPorts = [ 25565 ];
};
@ -46,12 +47,17 @@ in
nat = {
enable = true;
enableIPv6 = true;
externalInterface = "ens3";
internalInterfaces = [ "wg0" ];
};
firewall.allowedUDPPorts = [ wireguard-port ];
localCommands = ''
ip route add default dev mullvad table 1000
'';
wireguard = {
enable = true;
interfaces."wg0" = {
@ -65,12 +71,16 @@ in
"10.69.173.41/32"
"fc00:bbbb:bbbb:bb01::6:ad28/128"
]; # free cat
table = "1000";
privateKeyFile = config.age.secrets.mullvad-vpn-key.path;
peers = [
{
name = "de-fra-wg-007";
publicKey = "mTmrSuXmTnIC9l2Ur3/QgodGrVEhhIE3pRwOHZpiYys=";
allowedIPs = [ ];
allowedIPs = [
"0.0.0.0/0"
"::/0"
];
endpoint = "de-fra-wg-007.relays.mullvad.net:51820";
}
];