Can a gateway be configured to forward packets to another gateway on the same LoRaWAN without internet connection?

Using Class A devices on a Public LoRaWAN, I’d like to forward packets between SX130x gateways regardless of whether the gateways have internet connection. This is essential in remote areas with spotty internet. I thought this was possible using

Presuming I am correct in that assumption, does the configuration need to be included in the gateway’s OS build? Or can the configuration be done after the build whenever the user wants?