A third option: When your main end points of the long distance connection are stationary you could use directional antennas to span the distance with only two devices.
BTW, what distance are we talking about?
How clear is the line of sight between the devices?
Are there any “interfering” signals that may make the antenna approach unfeasible?
These are a few threads that may help
Mesh range testing
Long range mesh nodes
Outdoor Antenna