Open fzakfeld opened 2 months ago
AFAIK its always been that case. WG uses Allowed IPs for 'route' selection. Can't have two peers with same/overlapped IP range, just like with routing.
If that's the case, maybe we can add some sort of validation in the UI? Not sure how straight forward that would be
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
When using multiple peers on a wireguard instance with the same allowed IPs value (e.g. 10.123.175.240/28) only one works.
To Reproduce
Steps to reproduce the behavior:
wg show
Expected behavior
Both peers should be able to use any address in the IPv4 subnet 10.123.175.240/28.
Describe alternatives you considered
Use more explicit /32 or /128 values, which might not always be an option.
Relevant log files
Additional context
XML config seems fine (same as the web UI)
Environment
OPNsense 24.1.7_4-amd64 FreeBSD 13.2-RELEASE-p11 OpenSSL 3.0.13