Zend certified PHP/Magento developer

Configure network from other computer

I’m doing a project from my last year of System Administration and Networks (Technical College in Spain) and I need help with this situation:

Schema from the project

A Client (from other network and connected to the web via VPN) will access a web hosted by the DMZ Server with Apache which have a list of network configurations for O1 (configurable host), after the client has selected all the configurations for O1 the web will export all the configurations to an JSON file and send it to Server, to translate it to an network configuration script (Bash or PowerShell) and apply that configuration to O1.

Is there any way the Server could configure O1 automatically without accepting or touching nothing in that machine? I would like to configure: Interface configuration (Name of interface, IP, Netmask, DNS…) and Hostname.

So far, I’ve only completed the outline and learned the theory. I wish someone could help me with this, thanks for reading!