From 3cf7e6bc31f992125c0c40b818e4ef9d3e4595e8 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 6 Mar 2021 16:45:36 +0100 Subject: Renamed Retiolum FAQ to /Retiolum --- Retiolum FAQ.md | 14 -------------- Retiolum.md | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 Retiolum FAQ.md create mode 100644 Retiolum.md diff --git a/Retiolum FAQ.md b/Retiolum FAQ.md deleted file mode 100644 index 5ce329e..0000000 --- a/Retiolum FAQ.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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 lretiolum -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 - diff --git a/Retiolum.md b/Retiolum.md new file mode 100644 index 0000000..5ce329e --- /dev/null +++ b/Retiolum.md @@ -0,0 +1,14 @@ +# 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 lretiolum -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 + -- cgit v1.2.3