CloudFare loadbalancer to non standard ports

Just signed up for CloudFare load balancing and am in the process of trying to get it working/setup. My web servers are running on non-standard ports (not 80 or 443). Is it possible to configure them to run under CloudFare load balancer?

Let me clarify
Cloudflare over SSL on port 443 <-> My server running on port XXXX

1 Like

For requests made via HTTP:

80
8080
8880
2052
2082
2086
2095

For requests made via HTTPS:

443
2053
2083
2087
2096
8443

Check out the included url for more info Cloudflare Ports

2 Likes

Today Cloudflare does proxying of requests from port x to port x. To proxy a request from port x to port z you’d need to do at that at the local machine level or firewall level with a proxy map of some kind which redirected the request Cloudflare sent to port x to port z.

If you want to send traffic directly to a given port, the ports @danstock danstock listed can be orange clouded records, to send directly to a port outside of these (e.g. 25 for SMTP) you’d need to set the record to be gray clouded to bypass the Cloudflare proxy.

2 Likes

Got it. Thank you both - that was informative.

We ended up sticking a simple nginx proxy in front to get it all flowing.

2 Likes