Automatic FW/routing based proxy generator