[ Lezzo secret wiki ]
-
-
~ Hosts
-
+
+
-
~ Hosts
+
-
Reduce packages disk usage on gentoo
-
+
+
-Reduce packages disk usage on gentoo
+eclean packages eclean distfiles @@ -28,9 +28,9 @@ eclean-kernel -A -a
-
Update pi-hole devuan host
-
+
+
+Update pi-hole devuan host
+apt update apt upgrade @@ -38,6 +38,23 @@ PIHOLE_SKIP_OS_CHECK=true pihole -up
+
Add static route for wireguard
+
+
++Useful when subnet clash, example: +
++lezzo: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1420 + inet 10.0.13.2 netmask 255.255.255.255 destination 10.0.13.2 +wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 + inet 10.0.11.148 netmask 255.255.0.0 broadcast 10.0.255.255 ++
+route add -net 10.0.13.0 netmask 255.255.255.0 gw 10.0.13.1 lezzo ++
diff --git a/secretwiki/commands.org b/secretwiki/commands.org
index 3b2669a..017ce23 100644
--- a/secretwiki/commands.org
+++ b/secretwiki/commands.org
@@ -12,3 +12,14 @@ apt update
apt upgrade
PIHOLE_SKIP_OS_CHECK=true pihole -up
#+end_src
+** Add static route for wireguard
+Useful when subnet clash, example:
+#+begin_src
+lezzo: flags=209 mtu 1420
+ inet 10.0.13.2 netmask 255.255.255.255 destination 10.0.13.2
+wlp1s0: flags=4163 mtu 1500
+ inet 10.0.11.148 netmask 255.255.0.0 broadcast 10.0.255.255
+#+end_src
+#+begin_src
+route add -net 10.0.13.0 netmask 255.255.255.0 gw 10.0.13.1 lezzo
+#+end_src