Wireguard still not working for me.
I see that the toggle will stay active now, but I still can't tunnel to my unraid server.
My phone is transmitting and wants to handshake but my unraid server doesn't see anything and ping doesn't work. I don't get what's wrong.
When I run the quick log I see:
wg-quick down wg0
[#] ip link delete dev wg0
[#] logger -t wireguard 'Tunnel WireGuard-wg0 stopped'
[#] iptables -t nat -D POSTROUTING -s 10.253.0.0/24 -o br0 -j MASQUERADE
[#] ip -4 route flush table 200
[#] ip -4 route add unreachable default table 200
[#] ip -4 route add 10.31.0.0/22 via 10.31.0.1 dev br0 table 200
wg-quick up wg0
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.253.0.1 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] ip -4 route add 10.253.0.2/32 dev wg0
[#] logger -t wireguard 'Tunnel WireGuard-wg0 started'
[#] iptables -t nat -A POSTROUTING -s 10.253.0.0/24 -o br0 -j MASQUERADE
[#] ip -4 route flush table 200
[#] ip -4 route add default via 10.253.0.1 dev wg0 table 200
[#] ip -4 route add 10.31.0.0/22 via 10.31.0.1 dev br0 table 200
However handshake doesn't occur.
[Interface] #HomeVPN
PrivateKey=
Address=10.253.0.1
ListenPort=51820
PostUp=logger -t wireguard 'Tunnel WireGuard-wg0 started'
PostUp=iptables -t nat -A POSTROUTING -s 10.253.0.0/24 -o br0 -j MASQUERADE
PostDown=logger -t wireguard 'Tunnel WireGuard-wg0 stopped'
PostDown=iptables -t nat -D POSTROUTING -s 10.253.0.0/24 -o br0 -j MASQUERADE PostUp=ip -4 route flush table 200
PostUp=ip -4 route add default via 10.253.0.1 dev wg0 table 200
PostUp=ip -4 route add 10.31.0.0/22 via 10.31.0.1 dev br0 table 200
PostDown=ip -4 route flush table 200 PostDown=ip -4 route add unreachable default table 200
PostDown=ip -4 route add 10.31.0.0/22 via 10.31.0.1 dev br0 table 200
[Peer] #test
PublicKey=
PresharedKey=
AllowedIPs=10.253.0.2
[Interface] #alvas21
PrivateKey=
Address=10.253.0.2/32 DNS=192.168.1.254
[Peer] #HomeVPN
PresharedKey=
PublicKey=
Endpoint=test.duckdns.org:51820
AllowedIPs=0.0.0.0/0
Can someone please help?