blob: 528aa84ff5feb047692cb7be80a2c5f4310c45d9 (
plain)
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
|
# Hosts files for Tinc
- [how to join](https://github.com/krebs/retiolum#howto-join-the-network)
- updated by GitHub actions every 5 minutes (incl. /etc/hosts & wiregrill****):
[https://github.com/krebs/retiolum](https://github.com/krebs/retiolum)
- updated by Mic92's CI (incl. /etc/hosts; also a flake):
[https://git.thalheim.io/Mic92/retiolum](https://git.thalheim.io/Mic92/retiolum)
- updated by
[hotdog.r](http://cgit.ni.r/stockholm/tree/krebs/1systems/hotdog/config.nix)
using [hosts](http://cgit.ni.r/stockholm/tree/krebs/3modules/github-hosts-sync.nix)[-](http://cgit.ni.r/stockholm/tree/krebs/5pkgs/simple/github-hosts-sync/default.nix)[sync](http://cgit.ni.r/stockholm/tree/krebs/5pkgs/simple/github-hosts-sync/src/hosts-sync):
[https://github.com/krebs/hosts](https://github.com/krebs/hosts)
# Supplemental services
- [Retiolum world map](http://graph.r/)
- [d3 graph of hosts](http://graph.r/graph.html)
- [statistics about the network](http://graph.r/statistics.json)
# FAQ
## Q: how to route LAN hosts into retiolum?
First select a host in the LAN that has access to retiolum, let's say the host at `$ROUTERIP`.
On that host open the firewall and enable forwarding (example for IPv4, but IPv6 works similarly):
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -o retiolum -j ACCEPT
iptables -t nat -A POSTROUTING -o retiolum -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
Then other hosts in the LAN can use `$ROUTERIP` to access retiolum by adding a route like this:
ip route add 10.243.0.0/16 via $ROUTERIP
|