mirror of
https://github.com/fosrl/newt.git
synced 2026-03-08 23:03:03 -05:00
binaries for low-end devices #37
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tobias-carlbom on GitHub (Jun 15, 2025).
thanks for this project, its awesome!
i am managing low-end teltonika devices which runs RutOS (fork of openwrt). sadly the routers only has around 3-4MB storage.
it would be super useful to be able to install newt on these devices. but i noticed that the binaries are around 12MB,
thanks!
@oschwartz10612 commented on GitHub (Jun 15, 2025):
Ahh yeah that is unfortunate. One of the downsides of go is the large binary size due to the static compile. We are also packaging a full netstack into the binary.
I tried
upxbut was only able to get it down to 8 megs or so which is still too big.Important request though I will leave this for the future!
@tobias-carlbom commented on GitHub (Jun 16, 2025):
Oh I see! That explains a lot.
Perhaps one way would be to use Basic Wireguard instead. Although, as I understand, I cannot add targets on LAN subnet, only wg subnet. Is that correct? :)
@oschwartz10612 commented on GitHub (Jun 16, 2025):
Oh yeah good idea I should have suggested that haha!
You can add targets from your LAN - you just have to NAT them on the WG device. So you would create a NAT from your WG interface - lets say 100.90.128.12:3456 - to your target at - lets say 192.168.1.34:443. Essential Traefik from the cloud can reach anything in the /29 wg network that is created for the target.