Mai fatto ne gestito un gateway, ma fossi in te proverei a guardare qualche framework tipo https://threemammals.com/ocelot/
flickr
Regole del Forum