Here is the packet flow - The end user request will come from mobile on Apache reverse proxy URL (i will take care of DNS and forward the request to Apache IP). Once the request is received on Apache reverse proxy, before further processing the request, some of the X-header information need to be captured and save it to local HD and the original X-header need to be replaced with some random numbers and mapping of this random number and original X-header need to be kept safe for return traffic.
Once the header is modified, the request will be forwarded to actual web server from Apache reverse proxy server with different ip as source ip. Request will reach to web server and reply will come back to Apache reverse proxy.
Again on Apache reverse proxy, IP will be changed to original ip and also all original X-header information are inserted back replacing the random numbers and the final reply is forwarded to end user.
This mapping must kept safe for regulatory purpose.
Kindly note, there will be multiple simultaneous incoming request every second on Apache reverse proxy.
Kindly let me know if this can be done quickly.