OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: hannesk71 on April 25, 2023, 04:19:56 PM

Title: opnsense not routing
Post by: hannesk71 on April 25, 2023, 04:19:56 PM
Hi everybody!

I have 2 opnsense machines on my LAN 192.168.10.253 is multiwan and supposed to be primary and 192.168.10.254 is secondary and has VPN's connected to it. I created routing table on 253 showing that for those subnets 254 is the router. When I ping/traceroute from 253 everything works perfectly. When I do it from the PC on the same LAN 253 does not route but sends packets directly to the net
when I describe route on PC directly, everything works OK

What I'm doing wrong?
Title: Re: opnsense not routing
Post by: hannesk71 on April 26, 2023, 04:44:01 PM
In addition to previous post:
This opnsense has multi wan. I reconfigured. When I had one WAN connection routing worked. When I created gateway group routing stopped
Title: Re: opnsense not routing
Post by: Seimus on May 01, 2023, 09:44:54 PM
Are you using RPL correctly?

As seen in the tooltip System > GW > Group

QuoteRemember to use these Gateway Groups in firewall rules in order to enable load balancing, failover, or policy-based routing. Without rules directing traffic into the Gateway Groups, they will not be used.

So basicaly this for me means you need to use RPL within a FW rule to direct the traffic to the GW group.

Regards,
S.