mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[GH-ISSUE #68] binaries for low-end devices #1091
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).
Original GitHub issue: https://github.com/fosrl/newt/issues/68
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.
@kevingarman commented on GitHub (Feb 17, 2026):
@tobias-carlbom ...I second this for sure...I also use teltonika devices! I'm currently using OpenRport and which has the same problem. My solution has been to host the rport executable on some webserver and then have a startup script download the executable and then run it (/tmp has enough storage).
I've been eyeing pangolin for some time and would love to switch...is there a mips binary anywhere? ...I know, I can build it, but thought I'd ask as clearly others are trying to do the same thing I am!
mips softfloat and mipsle softfloat to be specific
Update: I went ahead and just compiled it for mipsle (RUT956) and after a brief test it seems to be working just fine (again, using the download to /tmp method).