From f58a5922dcf159a1e2b6f34e179815824c142f14 Mon Sep 17 00:00:00 2001 From: Per-Arne Andersen Date: Tue, 14 Apr 2020 02:18:26 +0200 Subject: [PATCH] Update and rename install_rpi.md to install.md --- docs/{install_rpi.md => install.md} | 7 +++++++ 1 file changed, 7 insertions(+) rename docs/{install_rpi.md => install.md} (81%) diff --git a/docs/install_rpi.md b/docs/install.md similarity index 81% rename from docs/install_rpi.md rename to docs/install.md index 5a24fd9..5f7110e 100644 --- a/docs/install_rpi.md +++ b/docs/install.md @@ -64,3 +64,10 @@ You should now see the following #INFO: Application startup complete. #INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) ``` + +## 6. Default routing not working? +Try these. + +PostUp `iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip6tables -A FORWARD -i %i -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE` + +PostDown `iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE; ip6tables -D FORWARD -i %i -j ACCEPT; ip6tables -t nat -D POSTROUTING -o eth0 -j MASQUERADE`