I think to deploy a system extension or network extension module, you need an app bundle. A command line app built from C or Objective C or CPP won't be able to deploy the network extension module..
If my understanding is correct, you can deploy the SE module using a dummy app, but using some sort of IPC Connection, your cpp CLI app can communicate with the SE module.
Correct me if Im wrong, Im trying to do the exact same steps as you.
Topic:
App & System Services
SubTopic:
Networking
Tags: