listening on wg3, link-type NULL (BSD loopback), capture size 262144 bytes09:18:16.311527 IP 10.200.202.2 > 10.200.202.1: ICMP echo request, id 49148, seq 256, length 6409:18:17.335410 IP 10.200.202.2 > 10.200.202.1: ICMP echo request, id 49148, seq 257, length 6409:18:18.359476 IP 10.200.202.2 > 10.200.202.1: ICMP echo request, id 49148, seq 258, length 6409:18:19.383596 IP 10.200.202.2 > 10.200.202.1: ICMP echo request, id 49148, seq 259, length 64
# opnsense-revert -r 24.1.4 opnsense
root@router:~ # cat /usr/local/etc/wireguard/wg1.conf##################################################### Interface settings, not used by `wg` ## Only used for reference and detection of changes ## in the configuration ###################################################### Address = 192.168.10.2/24# DNS =# MTU =# disableroutes = 0# gateway =[Interface]PrivateKey = ...ListenPort = ...[Peer]# friendly_name = ...PublicKey = ...PresharedKey = ...Endpoint = ...:...AllowedIPs = 192.168.10.1/32,192.168.20.1/24
root@router:~ # ping 192.168.10.1PING 192.168.10.1 (192.168.10.1): 56 data bytes64 bytes from 192.168.10.1: icmp_seq=0 ttl=64 time=60.482 ms64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=28.849 ms^C--- 192.168.10.1 ping statistics ---2 packets transmitted, 2 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 28.849/44.666/60.482/15.817 ms
root@router:~ # ping 192.168.20.1PING 192.168.20.1 (192.168.20.1): 56 data bytes^C--- 192.168.20.1 ping statistics ---2 packets transmitted, 0 packets received, 100.0% packet loss
root@router:~ # netstat -rn|grep wg1192.168.10.0/24 link#15 U wg1
root@router:~ # route add -net 192.168.20.1/24 -interface wg1add net 192.168.20.1: gateway wg1
root@router:~ # netstat -rn|grep wg1192.168.20.0/24 link#15 US wg1192.168.10.0/24 link#15 U wg1
root@router:~ # ping 192.168.20.1PING 192.168.20.1 (192.168.20.1): 56 data bytes64 bytes from 192.168.20.1: icmp_seq=0 ttl=64 time=29.310 ms64 bytes from 192.168.20.1: icmp_seq=1 ttl=64 time=30.184 ms^C--- 192.168.20.1 ping statistics ---2 packets transmitted, 2 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 29.310/29.747/30.184/0.437 ms
Seeing the same issue here. WG site to site worked fine until I upgraded.Code: [Select]# opnsense-revert -r 24.1.4 opnsensedoes not fix it.
For people that have this issue: Check if you've assigned a static ip address to your wireguard interface. You would be able to see this under Interface->[Your wireguard interface].If you go to this page and press save without making ANY changes, opnsense will yell at you with an error message. Make the fix (in my case, don't assign a static ip address), then press save, apply the changes, and then restart wireguard. The routes will now get propagated.