KlipperWrt
KlipperWrt copied to clipboard
[dev] Remote access - Tailscale
⚠️ Encrypting webcam stream takes quite a lot of CPU power so this approach might not be recommended ⚠️
Home network: webcam stream (no encryption) - low CPU load Remote VPN access: webcam stream encryption - increased CPU load
This will enable remote access to the box. Tailscale is a very simple to setup VPN without the need to create your own server or mange configs or open/forward ports. At its core it's based on WireGuard.
❗ Apparently Tailscale is now officially in Openwrt package repository. Yey! See here and here
Note!
Tailscale package has a kernel module dependency called kmod tun
. Due to the box not officially supported yet, kmods can only be installed first day until the next daily build happens. To overcome that I either have to compile a new bin file with the kmod preinstalled or as a separate package that can be manually installed later.
❗ New .bin
with kmod tun
coming soon ❗
🔢 Steps to install and configure Tailscale on the box:
- Register to Tailscale
- Install packages
opkg update && opkg install tailscaled tailscale
- Start and enable daemon service
/etc/init.d/tailscale enable
/etc/init.d/tailscale start
- Authenticate the box with the given URL:
tailscale up
- In your Tailscale account you should see your box with an ip assigned
~📶 Tailscale for OpenWrt here - thanks adyanth~ ~🔜 Tutorial to install tailscale daemon on OpenWrt ❗ coming soon... ❗~
🔢 Steps to configure Tailscale - thanks denkyem
- Make sure you've registered an account to tailscale
- Install Tailscale client on your phone/tablet/PC/mac (the remote device)
- Make sure Tailscale is configired on the box (see above )
- Make sure both devices appear in your Tailscale account:
- In your
moonraker.conf
add your remote device ip undertrusted_clients
in[authorization]
block
[authorization]
force_logins: True
cors_domains:
*.local
*.lan
*://app.fluidd.xyz
trusted_clients:
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
FE80::/10
::1/128
100.115.167.93 #<-------- this is the remote phone ip found in your Tailscale account
- To access the box remotely make sure Tailscale app is running and active on your remote device
- Access URL
http://100.99.160.51
#<-------- this is the ip of the box found in your Tailscale account - Type the same thing here when prompted