[Bug 253487] if_wg module multiple ipv4 in allowed-ips will cause all IPs' subnet mask become the same.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 13 17:39:00 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253487

            Bug ID: 253487
           Summary: if_wg module multiple ipv4 in allowed-ips will cause
                    all IPs' subnet mask become the same.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: nyan at myuji.xyz

When using `if_wg`, adding a peer with a list of allowed-ip, for example

 allowed-ips 10.0.20.0/24 allowed-ips 192.168.0.0/16

will result in

AllowedIPs = 10.0.20.0/24, 192.168.0.0/24

Expected:

AllowedIPs = 10.0.20.0/24, 192.168.0.0/16

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list