I have been using pivpn to manage wireguard clients on my Ubuntu 22.04 with no problem. Today I applied netplan system on my Ubuntu 22.04 (following this guide here: https://fabianlee.org/2022/09/20/kvm-creating-a-bridged-network-with-netplan-on-ubuntu-22-04/#switchtonetplan). Things are fine for now, except for wireguard: my old clients cannot connect to my Ubuntu machine anymore.
Here is the status on networkctl
IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 enp2s0 ether routable configured 3 br0 bridge routable configured 4 wg0 wireguard routable unmanaged 5 virbr0 bridge no-carrier unmanaged 6 br-5dc8074d8a75 bridge routable unmanaged 7 br-67552b09abac bridge routable unmanaged 8 docker0 bridge routable unmanaged
My netplan yaml file as follow
network: version: 2 renderer: networkd ethernets: enp2s0: dhcp4: false dhcp6: false addresses: - 192.168.0.19/24 nameservers: addresses: [1.1.1.1, 8.8.8.8] routes: - to: default via: 192.168.0.1 bridges: br0: interfaces: [enp2s0] addresses: - 192.168.0.108/24 routes: - to: default via: 192.168.0.1 metric: 100 on-link: true mtu: 1500 nameservers: addresses: [1.1.1.1, 8.8.8.8] parameters: stp: true forward-delay: 4 dhcp4: no dhcp6: no
As far as I know, I haven't made any change with the port that wireguard is using (4810).
Appreciate any pointer or guidance for next steps to investigate this problem!