A lorawan gateway would require an 8 channel concentrator card.
This software provides UDP connection to the card. https://github.com/Lora-net/packet_forwarder
Many RPI gw hardwares exist.
"Link" two linux machines? Expecting IP connections over LoRa?