W dniu 15.02.2022 o 10:19, Carlos Lopez pisze:
On 15 Feb 2022, at 10:16, Łukasz Moskała <l...@lukaszmoskala.pl> wrote:
Dnia 15 lutego 2022 10:13:57 CET, Carlos Lopez <clo...@outlook.com> napisał/a:
Hi all,
I am trying to configure multiple Wireguard road-warriors config using this
simple config in /etc/hostname.wg0
wgkey Ls1Os9/oE0kU5jJdFp1dLpzJhtL8WIzzJ/G+7bzSEZk=
wgport 8443
wgpeer 2XLLj0O6jdtx+BNCt90m2pEyJS/M2kh6WaskFTz+n1A= vgaip 10.55.55.2/32 vgaip
10.55.55.3/32
inet 10.55.55.1/28
description "WireGuard Network"
up
but "sh /etc/netstart wg0” returns me always the following error:
ifconfig: vgaip: bad value
My host is OpenBSD 6.9 fully updated …. On the other side, is it possible to
assign different wiper keys to every client?
Many thanks for your help
I think it's wgaip not vgaip
-
Ouch!!! …. You are right Lukasz ….. Sorry for the noise ….
But regarding the question to use different keys for every wg client?
I don't understand what you mean
You specify wgkey once, there goes "server" private key
You specify one wgpeer for one "client", each with diffrent public key.
--
Łukasz Moskała