-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Copy link
Labels
good first issueBeginner-friendly issuesBeginner-friendly issuesverifiedAll test cases were verified successfullyAll test cases were verified successfully
Milestone
Description
When the Wireguard setting "Route all traffic" is enabled for a peer, the configuration has a duplicate entry of list allowed_ips:
config wireguard_wg1 'wg1_ns_9c80b847_peer'
option disabled '0'
option ns_name 'chadima-ntb'
option preshared_key 'xxx'
option ns_route_all_traffic '1'
list allowed_ips ''
list allowed_ips '10.189.165.8/32'
...
Steps to reproduce
- Create a Wireguard server
- Create a Wireguard peer and enable "Route all traffic"
- Apply the changes
- Check the Wireguard configuration in
/etc/config/network
Expected behavior
list allowed_ips should be configured once.
Actual behavior
list allowed_ips is listed twice, one entry is empty.
Components
NethSecurity 8.7.1
ns-ui 2.8.1-r1
See also
Thanks to antonin.chadima
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueBeginner-friendly issuesBeginner-friendly issuesverifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done ✅