Jump to content

Only allow cloudflare to access my website

Go to solution Solved by Eigenvektor,

I guess that would be the way to do it. Block the port unless the request is coming from one of CloudFlare's IPs. Just keep in mind that CloudFlare's IPs may also change over time.

 

https://www.cloudflare.com/ips/

Hello,

 

I want to make a website that only cloudflare can have access to. I don't want someone who browses to my local IP and does a port scan be able to see I have a web server running on a random port.

 

Is there an easy way to do this?

 

I was thinking maybe something with iptables whitelisting, but what do you guys suggest?

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
Share on other sites

Link to post
Share on other sites

I guess that would be the way to do it. Block the port unless the request is coming from one of CloudFlare's IPs. Just keep in mind that CloudFlare's IPs may also change over time.

 

https://www.cloudflare.com/ips/

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×