I 'm looking for a way to use Cloudflare as a reverse-proxy, but can’t find how to do this. Or, if this is even possible.
note: for this example lets say domain.com is my domain that I have registered at cloudflare and my WAN IP is 126.96.36.199
What I’am looking for:
https://test.domain.com is routed/proxied to 188.8.131.52:4431 (or wan.domain.com:4431 witch resolves to 184.108.40.206:4431)
https://files.domain.com is routed/proxied to 220.127.116.11:4432
https://www.domain.com is routed/proxied to 18.104.22.168:4433
The user only sees that he goes to https://test.domain.com, or files or www. So he doesn’t ‘see’ he in reality goes to the 22.214.171.124:port part.
Also, he of course, gets a valid SSL certificate
On my side, in the firewall, I can say… if source is cloudflare-IP, and port is 4431, than go to internal server that serves the test stuff, if port is 4432 go to internal server that serves the files stuff and so on.
Is this possible?
If so, how?