Solved ifconfig wg0 destroy

Up until FreeBSD 13.x wg-quick was working as expected. On FBSD 14, it has stopped. My configs on both server side and client side remain the same. Same wireguard client config from a Windows machine wireguard client on the same wifi, works fine.
I found lots of people having the same issue https://www.reddit.com/r/opnsense/comments/1buai5l/cannot_connect_to_machine_on_other_subnet_any/ but no solutions that worked.
[ What's he talking about, LAN bridge between interfaces ? https://www.reddit.com/r/opnsense/comments/1buai5l/comment/kxuxtg0/ ]


Here's the output for two diff tunnels

Code:
# wg-quick up wg1
[#] ifconfig wg create name wg1
[#] wg setconf wg1 /dev/stdin
[#] ifconfig wg1 inet 192.168.n.n/32 alias
[#] ifconfig wg1 mtu 1420
[#] ifconfig wg1 up
[#] resolvconf -a wg1 -x
[#] route -q -n add -inet 0.0.0.0/32 -interface wg1
[#] resolvconf -d wg1
[#] ifconfig wg1 destroy

# wg-quick up wg0
[#] ifconfig wg create name wg0
[#] wg setconf wg0 /dev/stdin
[#] ifconfig wg0 inet 10.1.n.n/32 alias
[#] ifconfig wg0 mtu 1420
[#] ifconfig wg0 up
[#] resolvconf -a wg0 -x
[#] route -q -n add -inet 0.0.0.0/32 -interface wg0
[#] resolvconf -d wg0
[#] ifconfig wg0 destroy

My LAN re0 has no IP address allocated
My wlan0 has 192.168.x.x.

If I remove AllowedIPs, it creates the tunnel but as expected doesn't pass any traffic, since we have not asked any IPs to pass through.
Please let me what more info can I provide here. Anyone else facing this?
Thank you.
 
Back
Top