feat(wireguard): bringing wireguard to UI#1370
Merged
Conversation
5053441 to
7d70cee
Compare
57e5d2f to
4882b71
Compare
4882b71 to
6d665f5
Compare
gsanchietti
reviewed
Sep 30, 2025
4d3df23 to
d191da0
Compare
d191da0 to
573a7ec
Compare
gsanchietti
approved these changes
Sep 30, 2025
markVnl
pushed a commit
to markVnl/nethsecurity
that referenced
this pull request
Oct 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to WireGuard VPN management and integration in the NethSecurity platform. The changes include a major redesign of the WireGuard API, enhanced device handling for WireGuard interfaces, new dependency and post-commit script management, and improved package installation for WireGuard tools. The documentation has also been thoroughly updated to reflect the new API endpoints and usage.
WireGuard API Redesign and Documentation Updates
packages/ns-api/README.mdhas been completely reworked: new endpoints for managing servers, peers, and client tunnels have been introduced, with clear separation between server and client tunnel management. The documentation now provides detailed examples and parameter explanations for each endpoint, replacing the previous, less structured API. [1] [2]Device Handling Improvements
packages/ns-api/files/ns.devicesnow properly filters WireGuard interfaces, ensuring devices pending deletion are excluded and that WireGuard devices are correctly associated with their interfaces. VPN zone detection now includes WireGuard interfaces. [1] [2] [3] [4]Build and Dependency Management
wireguard-toolspackage is now a dependency ofns-api, ensuring required tools are available for WireGuard management.wg-jsonbinary, facilitating JSON-based WireGuard status queries.Post-commit Script Enhancements
restart-wireguard.pyhas been added to reload WireGuard interfaces when configuration changes are detected, improving reliability and automation of VPN updates. [1] [2]Luci Configuration Adjustments
m) instead of always enabled, providing more flexible package selection and reducing unnecessary installations.Closes #1352