about cloudflare lb origin server ip

let's say I have a origin server 1231.123.12.3123:3000 , 1231.123.12.3123:3001 it has 2 ports open can I use loadblacner to connect to a port ? or it's only connect to ip ?
6 Replies
Chaika
Chaika3mo ago
You can override the destination port with an Origin Rule
No description
Chaika
Chaika3mo ago
this applies for Load Balancers too, I just tested.
Alvee
Alvee3mo ago
this port have be in range of 30000-32767 I want this range for k8s or only cloudfalre allowed ports
Chaika
Chaika3mo ago
I mean Origin Rules can only send to a single specific port, but Origin Rules do allow you to override to any port yea, doesn't have to be Cloudflare supported. Users wouldn't connect over that port though, they'd connect over one of the supported ones User -> CF on 443 -> Origin on 30000
Alvee
Alvee3mo ago
free tier has 10 rules does that mean I can only put 10 servers?
No description
Chaika
Chaika3mo ago
no, you'd only need one origin rule to override all origins on that specific lb hostname to a specific port