Hello Pierre,
Silly question perhaps but are you trying to run this with the Allowed
IPs commented out as shown in your example?
If you remove the '#' from the front of that line does it work? I can
confirm that wireguard is working just fine for me after the update to
7.4 on multiple devices, including one with a practically identical
configuration to what you shared.
Judah
On 10/22/23 11:56, Pierre Peyronnel wrote:
Hi there,
Since upgrading from 7.3 to 7.4 my wireguard setup stopped working.
Now, it might be me. Still here's what I have.
Stripping down wg0.conf, I have this message as soon as I add a [Peer]
section and its public key:
bsd# cat /etc/wireguard/wg0.conf
[Interface]
PrivateKey = (hidden by me)
ListenPort = 51820
[Peer]
PublicKey = (hidden by me)
#PresharedKey = (hidden by me)
#AllowedIPs = 10.x.x.10/32
# wg setconf wg0 /etc/wireguard/wg0.conf
Unable to modify interface: Address family not supported by protocol family
Trying to set it up manually, I get the following result:
bsd# ifconfig wg0 wgpeer '(hidden by me)' wgpsk '(hidden by me)' wgaip
'10.x.x.10/32'
bsd# wg
interface: wg0
public key: (hidden by me)
private key: (hidden)
listening port: 51820
peer: (hidden by me)
preshared key: (hidden)
allowed ips: (none)
I see no way of setting the AllowedIPs anymore.
I did not see any change in 7.4 that cloud explain the behaviour or require
a change in my configuration
I'd be grateful for feedback.
Thanks !
Pierre
--
Judah Kocher
Assistant Chief
Cochranville Fire Company
484-266-9257