[Solved] Strange gateway behaviour (question to devs)

Started by hbc, October 17, 2019, 09:35:31 AM

Previous topic - Next topic
TLDR: "Disable force gateway" unchecked in **Firewall ‣ Settings ‣ Advanced** and using the same interface?

(see https://docs.opnsense.org/manual/firewall.html)

October 29, 2019, 08:20:08 AM #16 Last Edit: October 29, 2019, 08:43:10 AM by hbc
AdSchellevis you are the best!

When reading the description for this option, I did not think it would be the reason for my problem since I do not use force gateway anywhere, but then I decided to inspect all my rules and found this autogenerated rule:

IPv4+6 *    lagg0    *    *    *    GW_LAN_IPv4    *    let out anything from firewall host itself (force gw)

And the rule was connected to your mentioned option. So I checked the option and voilà! - Works!
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Which it shouldn't be if you don't want to force gateways....

Usually the outcome for these toggles can be viewed in the firewall rules ("Automatically generated rules" for either the interface or floating rules in case of the force gw toggle).

Yes, you are right. Meanwhile I found this autogenerated rule and modified my previous post.  ;)

So our posts where overlapping  :)

Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR