I have not done anything special regarding gateway configuration.IPV4 Upstream Gateway is set to Auto-Detect.
not sure what auto-detect does, but can you try setting the gateway address instead?in https://forum.opnsense.org/index.php?topic=13456.0 there was a similar problem, and setting the gateway address seems to have solved it.