IPv4 /31 is not allowed for the command set interfaces wireguard wg1 peer name allowed-ips

Aloha,
on Version:
Version: VyOS 1.4-rolling-202202080317
Release train: sagitta

IPv4 /31 is not allowed for the command set interfaces wireguard wg1 peer name allowed-ips

set interfaces wireguard wg1 peer NAME allowed-ips 10.255.254.3/31

Error: 10.255.254.3/31 is not a valid IP prefix

I didn’t try a newer version so far…

Cheers
Marcel

See the error, is not a valid prefix
A valid network 10.255.254.2/31

Ah,
I Understand what you me.
Stupid me.
Sorry for not reading correctly.
giving the correct /32 subnet works

Sorry again and thanks for your help (again)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.