Prevent hits to my load balancer that is behind cloudflare DNS

dash-dns
dash-crypto
#1

Hello,
a noob question:

I’ve successfully configured CloudFlare to sit in front of our load balancer.

the DNS configuration in cloud flare looks like

CNAME nb-XX-XXX-XXX-XXX.newark.nodebalancer.linode.com

so our domain looks good at htpp//mydomain.com/api which hits that loadbalancer(SSL configured)"

HOWEVER,
Anyone can still get to { htpp//nb-XX-XXX-XXX-XXX.newark.nodebalancer.linode.com/api} bypassing cloudflare… is there a way to prevent this?

#2

You’d need to configure your load balancer to only accept connections from Cloudflare addresses and drop everything else.

1 Like
closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.