blob: 92fb6577501efe4c23e32c76fc447b99f1aa18c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
{
# <https://voidcruiser.nl/rambles/i2p-on-nixos/>
containers.i2pd = {
autoStart = true;
config = {
system.stateVersion = "24.05";
networking.firewall.allowedTCPPorts = [
7656
7070
4447
4444
];
services.i2pd =
let
address = "0.0.0.0";
in
{
inherit address;
enable = true;
upnp.enable = true;
bandwidth = 512;
websocket.address = address;
yggdrasil.address = address;
reseed.verify = true;
proto = {
bob.address = address;
i2pControl = {
inherit address;
enable = true;
};
socksProxy = {
inherit address;
enable = true;
};
http = {
inherit address;
enable = true;
strictHeaders = false;
};
i2cp = {
inherit address;
enable = true;
};
sam = {
inherit address;
enable = true;
};
httpProxy = {
inherit address;
enable = true;
# outproxy = "http://false.i2p";
# outproxy = "http://purokishi.i2p:4444";
# outproxy = "http://outproxy.acetone.i2p:3128";
outproxy = "http://exit.stormycloud.i2p:4444";
# outproxy = "http://outproxy.bandura.i2p:4444";
};
};
addressbook.subscriptions = [
"http://inr.i2p/export/alive-hosts.txt"
"http://i2p-projekt.i2p/hosts.txt"
"http://stats.i2p/cgi-bin/newhosts.txt"
"http://reg.i2p/export/hosts.txt"
"http://notbob.i2p/hosts.txt"
];
};
};
};
}
|