[GH-ISSUE #68] binaries for low-end devices #1392

Open
opened 2026-04-24 19:59:26 -05:00 by GiteaMirror · 4 comments
Owner

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!

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!
GiteaMirror added the enhancement label 2026-04-24 19:59:26 -05:00
Author
Owner

@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 upx but 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!

<!-- gh-comment-id:2974709027 --> @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 `upx` but 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!
Author
Owner

@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? :)

<!-- gh-comment-id:2974953027 --> @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? :)
Author
Owner

@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.

<!-- gh-comment-id:2976584989 --> @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.
Author
Owner

@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).

<!-- gh-comment-id:3911784525 --> @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).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#1392