When this VPN is set up on OPNsense only do the same on the second machine and exchange the public keys.
root@opnsense1:~ # wg show allinterface: wg1 public key: FotG72RR5IJ86plz0VuT8X39tfqSmanyrmGSxgX/5i4= private key: (hidden) listening port: 1199peer: gUs58TDRJYY24esbSfLULUH0SFWASvF6cUWjrdqH7go= endpoint: 192.168.22.156:1198 allowed ips: 192.168.0.0/16 latest handshake: 4 minutes, 23 seconds ago transfer: 66.57 KiB received, 88.05 KiB sent
root@opnsense2:~ # wg show allinterface: wg2 public key: gUs58TDRJYY24esbSfLULUH0SFWASvF6cUWjrdqH7go= private key: (hidden) listening port: 1198peer: FotG72RR5IJ86plz0VuT8X39tfqSmanyrmGSxgX/5i4= endpoint: 192.168.22.157:1199 allowed ips: 192.168.0.0/16 latest handshake: 5 minutes, 40 seconds ago transfer: 68.39 KiB received, 70.67 KiB sent
root@opnsense2:~ # ping 10.200.0.1PING 10.200.0.1 (10.200.0.1): 56 data bytesping: sendto: Capabilities insufficient92 bytes from 127.0.0.1: Destination Host UnreachableVr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 ccf7 0 0000 40 01 981f 10.200.0.2 10.200.0.1