firewall rules/access control to allowlist my office in Shenzhen, mainland china , my office ISP priovide dynamic DNS , I just need my office in shenzhen,china access my website ,then BLOCK all the mainland china traffic !
Hopefully your IP address doesn’t change often, so you won’t have to keep updating your Firewall Rule. This rule says if the visitor is in China, but NOT from your IP address, then block them.
That was exactly what I did
But
As I said :
My ISP provide dynamic DNS change IP pretty offen
Of which is the pain in the ■■■
Do I have to add random IP to the whitelist once a day ?
Any best solutions, please ? Even if I need to pay for the enterprise plan , worth it ! But tell me how it works ,please !
Plus :
I don’t want buy static IP address from my ISP !
You’re certainly welcome to write a local script to update that firewall rule as often as you want with your current IP address:
https://api.cloudflare.com/#firewall-rules-update-individual-firewall-rule
My current IP address changes pretty often ,
I am confused !
sdayman via Cloudflare Community <[email protected]> 于 2020年9月17日周四 03:38写道:
I don’t understand why you are willing to pay for an Enterprise plan that costs thousands of dollars every month, but do not want to pay for a static IP address.
If you don’t want to pay for a static IP address, you will need to find a developer who knows how to write scripts on your computer using the API information in my link above.
I’ll write my script
sdayman via Cloudflare Community <[email protected]> 于 2020年9月17日周四 08:50写道:
Is there a demo code inmy case for “write scripts on your computer using the API information in my link above.” , Please ?
sdayman via Cloudflare Community <[email protected]> 于 2020年9月17日周四 08:50写道:
THIS IS FROM ME TO MY HOSTING COMPANY:
Since you have told me after using SG
optimizer :curl shown image are in webp filetype instead of png or jpg .
Why is it that :
1.ANAMYZING MY WEBSITE :
gtmetrix
AND
developers.google.com/speed/pagespeed/insights/
2.BOTH OF GTMETRIX and
GOOLGE PAGESPEED INSIGHTS RECOMEND THE FOLLOWING :
Serve scaled images (GTMETRIX)
Serve images in next-gen formats(GOOLGE PAGESPEED INSIGHTS)
Please ?:
THIS IS FROM MY HOSTING COMPANY TO ME:
Evgeni Zagorov
Sep 21, 2020 NaN:14
Thank you for your reply.
The issue appears to be caused by Cloudflare, you can test that the images are shown with webp with hosts file as shown in this guide: How to edit the hosts file on Windows, Mac, or Linux - SiteGround KB.
If there are other questions or issues you are welcome to reach us again.
Best Regards,
Evgeni Zagorov
Technical Support Team
MY QUESTION IS:
SHOULD I CHAGE DNS FROM CLOUDFALRE TO SITEGROUND
IN ORDER TO MAKE WEBP IMAGES TAKEN INTO EFFECTION ?
@cnspecialcolor 朋友你好 我看了你发布的帖子 我有个问题想请教你 想必你能够帮到我!就是我的shopify商店在中国打开无法加载出我首页的背景3DLOGO和AR插件,但是我使用了VPN就能打开或者让其它国家的朋友帮忙打开也能打开!