Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Initialisation message of 'server' Peer doesn't display both IPv4+IPv6 Dual stack IP address - Thanks SNB Forum member @ZebMcKayhan wireguard-server1: Initialising Wireguard VPN (IPv6) [fdff:a37f:fa75:1::1] 'Server' Peer (wg21) on 100.126.96.1:11501 (# RT-AC86U (IPv4/IPv6) Server 1) should be wireguard-server1: Initialising Wireguard VPN (IPv6) [fdff:a37f:fa75:1::1] 'Server' Peer (wg21) on 100.126.96.1,[fdff:a37f:fa75:100::101]:11501 (# RT-AC86U (IPv4/IPv6) Server 1) CHANGE: Road-Warrior 'device' Peer always assumes 'server' Peer IP is assigned IPv4/IPv6 '.1' address; hence 1st 'device' peer should be assigned address '.2' 'server' Peer assigned ipv6=fdff:a37f:fa75:100::101 'device' Peer assigned ipv6=fdff:a37f:fa75:100::2 The above works, but probably tidier if the 'server' Peer base IP is used for all Road-Warrior 'device' Peers e.g. 'server' Peer assigned ipv6=fdff:a37f:fa75:100::101 'device' Peer assigned ipv6=fdff:a37f:fa75:100::102 CHANGE: When creating new 'server' Peer using command 'peer new ipv6=xxxx:xxxx:xxxx:xxxx::xxxx', allow user to specify ANY IPv6 prefix rather than enforce Private (fcxx:|fdxx:) IPv6 restriction
- Loading branch information