Restore only my ip


#1

hello,
can I set a rule that not change ip only for my dedicated IP?
I have roles on my htaccess with my ip and with cloudflare not works
thank you


#2

Which IP address are you talking about? I assume you are referring to https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs, right?

Can you provide some examples of what you want to achieve?


#3

my ip is 79.26.45.29,
I have a subfolder with htaccess:
Order deny,allow
Deny from all
Allow from 79.26.45.29

but clouflare change my ip and I show error 404


#4

You need to restore the client’s IP addresses as shown in the previously posted article.


#5

is not possible restore only my ip?


#6

No. You can only change your configuration in a way that it does not validate the client’s IP address but the header sent by Cloudflare, but I doubt that would be remotely easier.


#7

If your intentions are to block everyone but your static IP from a particular folder or web app, you could simply create a Firewall rule
e.g.
URI Path contains /wp-admin
AND
IP Address does not equal 123.123.123.123

Then Block


closed #8

This topic was automatically closed after 14 days. New replies are no longer allowed.