Newbie Help: Cloudflare only way access HAProxy... rule?

Started by ideal2545, January 19, 2022, 10:25:14 AM

Previous topic - Next topic
Hi All,

I've enabled HAProxy and I would like to put cloudflare infront for statistics gathering + some extra security. I would like to make it so that the only way my resources could be accessed are if going through Cloudflares DNS.

I found a list of cloudflares IP's and currently I have a rule setup for HA proxy which is relatively simple, basically allow any source to access the router on port 443.

I havent done too much custom rules yet but would i simply need to make an alias which contains all of cloudflares IP's and then set that as the source for this rule?

Any help is really appreciated - thank you!
Jon