OPNsense Forum

English Forums => General Discussion => Topic started by: Ams76 on January 20, 2021, 10:48:55 AM

Title: Multiple local subnets
Post by: Ams76 on January 20, 2021, 10:48:55 AM
Hi,

I've got a setup with multiple local subnets routed through a Layer 3 switch that has my OPNSense setup as gateway for these networks.

e.g., my LAN interface is in subnet 10.58.4.0/24
I've got two other subnets, 10.57.4.0/24 and 10.56.4.0/24.

Now, from the local subnet that my LAN-interface of the OPNSense is in, the setup works just fine. From the other two subnets I get no traffic through it.

I've setup static routes to these subnets on the OPNSense. I can ping the OPNSense LAN IP from these subnets.
I can also ping my hosts in these subnets from the OPNSense router. So it seems all routes are just fine.
I've also set up a NAT rule for the remote subnets.

Still, I get no traffic through the OPNSense from the remote subnets... The strange thing is I CAN do DNS requests from the other subnets to the OPNSense, but no http/https traffic.

What am I forgetting? :)
Title: Re: Multiple local subnets
Post by: stefanpf on January 20, 2021, 09:12:36 PM
I guess your
Default allow LAN to any rule
is using the interfaces Network as source which not contains the other subnets?
Title: Re: Multiple local subnets
Post by: chemlud on January 20, 2021, 09:16:17 PM
Any allow rules on OPT1 and OPT2 firewall tab?