Use modern http interface.
Have a whitelist of allowed IPs.

As having an open proxy is a bad idea.