1
24.7 Production Series / Re: WireGuard VPN - Can access OPNsense but no resources on LAN
« on: October 02, 2024, 04:39:29 pm »
edit--
I was able to get this figured out. It turns out WireGuard will not route to the local LAN if you connect it to the same subnet.
As soon as I changed it to 192.168.2.1/24 for the instance and 192.168.2.2/24 for the peer I was able to access resources on the LAN.
Is there any reason WireGuard couldn't access other connections on my LAN in the same 192.168.1.0/24 subnet even though the instance and peer were on unused addresses?
Thanks for taking the time to view this!
I was able to get this figured out. It turns out WireGuard will not route to the local LAN if you connect it to the same subnet.
As soon as I changed it to 192.168.2.1/24 for the instance and 192.168.2.2/24 for the peer I was able to access resources on the LAN.
Is there any reason WireGuard couldn't access other connections on my LAN in the same 192.168.1.0/24 subnet even though the instance and peer were on unused addresses?
Thanks for taking the time to view this!