OPNsense is a stateful firewall. You have to block/allow on LAN. Don't ALLOW ANYTHING on WAN.
OMG.
...i.e. anything not in the alias should be blocked. ......when I check the Maxmind GeoLite2 files the subnet is not present. ...
The way you explained it, it sounds like it's working as expected. That you have an Alias with only say USA IPs in it and then an inverse source rule that if the source is not a USA IP address it is blocked. That IP from say Mexico would not be in the list for the USA in the maxmind db or your rule set. You may have meant something else but that is what I understood.
@Plaidy; Did you get it to work?ps Thanks for your detailed posts and for quoting chemlud.