OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: yodaphone on January 27, 2023, 08:40:08 am

Title: Routing between Interfaces from Remote LAN
Post by: yodaphone on January 27, 2023, 08:40:08 am
I have 2 FWs at 2 sites A & B that are connected over a Site to Site Wireguard Tunnel

Site A has 2 networks 192.168.11.1/24 (Primary LAN) and I also have another LAN NET 192.168.1.1/24

I have WAN on igb0 (interface name WAN)

LAN 1 192.168.11.1/24 on igb1 (interface name LAN)

LAN 2 192.168.1.1/24 on igb2 (interface name LABMACHINES)

All independent physical interfaces

I'm able to ping/access between 11.1/24 & 1.1/24 without any issues

I'm also able ping/access between 11.1/24 & 2.1/24 both ways

Site B has 1 network 192.168.2.2/24

How do i access 192.168.2.2/24 from Site A LAN NET 192.168.1.1/24 & 192.168.1.1/24 from Site B?

What Rules do I need to make this happen, please?
Title: Re: Routing between Interfaces from Remote LAN
Post by: yodaphone on February 13, 2023, 12:18:22 pm
Bump!! Anyone please
Title: Re: Routing between Interfaces from Remote LAN
Post by: Demusman on February 13, 2023, 01:03:35 pm
Just add the networks to the allowed IP's in Wireguard.
So site B will have 11.0/24 and 1.0/24 as allowed.
Title: Re: Routing between Interfaces from Remote LAN
Post by: yodaphone on February 14, 2023, 03:52:25 am
thanks.. that worked