OPNsense, Rut955 and wireguard not reaching LAN:s

I tried setting up wireguard according to this tutorial:

Wireguard Peer To Peer Configuration example - Teltonika Networks Wiki (teltonika-networks.com)

All the handshakes and everything is working but i can not get the different sites/LANs to ping each other, I have added the needed firewall rules in the opnsense server, but I still can’t get it to work. Is there something missing in that manual?

I tried with a static route but that did not help:
Interface: my wireguard interface Target: 10.51.71.0 Netmask: 255.255.255.0 Ipv4-Gateway: 10.0.0.3

Any help is much appreciated!

My setup looks like this:

Hello,
On client 1 set Allowed IPs to 10.0.0.0/24 + 10.51.71.0/24 + 172.16.10.0/24.
On client 2 set Allowed IPs to 10.0.0.0/24 + 10.0.22.0/24 + 172.16.10.0/24.

On the Pfsense:

  • for the client 1 peer set Allowed IPs to 10.0.0.2/32 + 10.0.22.0/24
  • for the client 2 peer set Allowed IPs to 10.0.0.3/32 + 10.51.71.0/24

If the PC client is on the lan network of the pfsense server it doesn’t need to have a wg tunnel itself. If not you must add its lan address to the other Allowed IPs above.

Regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.