mirror of
https://github.com/fosrl/newt.git
synced 2026-05-07 00:20:00 -05:00
[PR #212] [CLOSED] Wireguard: support userspace mode (Rootless Android/Termux) #1575
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?
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/212
Author: @dpurnam
Created: 12/18/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (2)
d8fbdfdWireguard: support userspace mode (Rootless Android/Termux)575c99aWireguard: support userspace mode (Rootless Android/Termux)📊 Changes
1 file changed (+35 additions, -12 deletions)
View changed files
📝
main.go(+35 -12)📄 Description
Description
This PR fixes Newt running in userspace WireGuard environments
(e.g. Termux on a non-root Android).
Problem:
Solution:
Verified working:
Reference:
https://github.com/fosrl/newt/issues/161#issuecomment-3587573498
Additional Comments:
sing-box WireGuard works in the same environment when system=false, which matches this change.
How to test?
OR simply use an arg
--true-userspace-wgwithnewtcommandCommunity Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.