Thank you for your help, @bill001g ; As you foretold, I had to write a lot of code.
I've tried to solve my problem with the Ubiquiti AirGateway AG-PRO-INS, but I wasn't even able to configure it as a bridge, even after a long discussion on the forum and private assistance from a Ubiquiti's...