ÓßÑíÈÊ Whmcs Íá ãÔßáÉ AUTO LOGOUT ÚäÏ ÊÝÚíá CloudFlare
HOW TO FIX AUTO LOGOUT ISSUE IN WHMCS - Can't stay logged into admin area
After activating Cloudflare WHMCS login not working - whmcs logout issue with cloudflare
Session drop / kick out / logout problem - Cloudflare - Cloudflare causing logout
WHMCS PHP Sessions Not working
ÇáãÔßáÉ :
ÈÚÏ ÊÝÚíá ßáÇæÏ ÝáíÑ cloud flare ÙåÑÊ ãÔßáÉ ÏÇÎá áæÍÉ ÊÍßã whmcs
æåì Çäå íÍÏË ÊÓÌíá ÎÑæÌ log out ÈÔßá ãÊßÑÑ æáÇ íÌÚáß Êßãá Úãáß
æÚäÏ ÇáÊÕÝÍ ÏÇÎá clients Çæ ÊÓÌíá ÎÏãÉ ãÑÉ æÇÍÏÉ íÑÌÚ Çáì home
ßÇä åäÇß Îáá Ýì ÇáÇí Èí Çæ ÇáÇäÊÑäÊ æÇáÓÈÈ åäÇ åæ ÇáßáÇæÏ ÝáíÑ
ÍíË íÚÊãÏ Úáì äÙÇã ÇáÈÑæßÓí, æíÞæã ÈÊÛííÑ ip ÒÇÆÑ ÇáãæÞÚ ÈÔßá ãÊßÑÑ
áÐáß íÌÈ ÇáÓãÇÍ áåÐå ÇáÇíÈíåÇÊ æÚãá áåÇ allow
After checking the WHMCS admin log i noticed i was logging in from Cloudflare ips
and every time the ip changed, i got logout.
Íá ÇáãÔßáÉ " log out " Ýì ÍÇáÉ ÊÛííÑ ip :
Being logged out is an indication of the IP address changing
which would cause you to be logged out due to the Session IP Check
ÇÐåÈ Çáì ÇáãÓÇÑ ÇáÊÇáì
Setup -> General settings -> Security tab -> disable IP session
Ëã Þã ÈÊÝÚíá Disable Session IP Check
æåÐÇ ÇÝÇÏß ÇÐÇ ÇäÞØÚ ÇáÇäÊÑäÊ Çæ ÊÛíÑ ÇáÑÇæÊÑ Çæ ÇáÇí Èí åíÝÖá login
,æåì ãÑíÍÉ ÌÏÇ æÎÇÕÉ ÇÐÇ ßäÊ ãÝÚá 2factor
Íá ÇáãÔßáÉ " log out " Ýì ÍÇáÉ cloudflare æÌæÏ ÈÑæßÓí ip :
ßáÇæÏ ÝáíÑ áåÇ ÇíÈíåÇÊ ßËíÑÉ æßá session áß íÊÛíÑ ip ãÚåÇ æÈÇáÊÇáì åæ ÛíÑ ãÓÊÞÑ
æáæÍÉ ÊÍßã whmcs áåÇ äÙÇã ÍãÇíÉ ÈãÌÑÏ ÊÛííÑ ÇáÇí Èí íÚãá logout æáÍá åÐå ÇáãÔßáÉ
ÇáÎØæÉ Ýì ÇáÇÚáì ÞÏ Êßæä ßÇÝíÉ áß æÇÐÇ áã ÊÍá ÇáãÔßáÉ ÇÚãá ÇáÊÇáí
when clients are using Cloudflare, which is easy identifiable by reviewing the System Admin Login Log,
where you will see Cloudflare IP address listed. If that is the case,
you will want to add Cloudflare IP addresses to your Trusted Proxies inside WHMCS.
+
The Proxy Header field allows you to configure the HTTP header WHMCS will use to figure out which IP address is the authoritative IP address for the request, in other words, your connecting IP address
ÇÚÏÇÏÇÊ Proxy IP Header
The Proxy Header field allows you to configure the HTTP header WHMCS will use to figure out which IP address is the authoritative IP address for the request.Most proxies use "X_FORWARDED_FOR" and so the field can be left blank. Only change this value if you are sure your proxy uses a different header, as putting the wrong header into this field can cause improper recording of IP addresses.
ÇÐåÈ Çáì ÇáãÓÇÑ ÇáÊÇáì
Setup -> General settings -> Security tab -> Proxy IP Header
Ëã ÖÚ ÇáÞãíÉ ÇáÊÇáíÉ X_FORWARDED_FOR
ÇÚÏÇÏÇÊ Trusted Proxies
Use this field to add and remove IP Addresses and IP Address CIDR ranges of trusted proxies.
WHMCS will check the header configured to discover the actual canonical request IP address.
ÇÐåÈ Çáì ÇáãÓÇÑ ÇáÊÇáì
Setup -> General settings -> Security tab ->Trusted Proxies
Ëã ÖÚ ÌãíÚ ip ÇáÎÇÕÉ ÈßáÇæÏ ÝáíÑ ãä åäÇ
ßæÏ:173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.234.240.0/22 198.41.128.0/17 162.158.0.0/15 104.16.0.0/12 172.64.0.0/13 131.0.72.0/22.ãáÍæÙÉ :
Cloudflare Users
Some of Cloudflare's features are not compatible with WHMCS. Please ensure that both
Script Minimisation and Rocket Loader are be disabled for the domain on which WHMCS is installed
ÇáãÑÌÚ:
https://docs.whmcs.com/Trusted_Proxy_Settings
https://whmcs.community/topic/290988...to-admin-area/
https://whmcs.community/topic/301522-logout-issue/
https://stackoverflow.com/questions/...ns-not-working
https://docs.whmcs.com/Security_Tab#...ssion_IP_Check
https://www.cloudflare.com/ips-v4




ÑÏ ãÚ ÇÞÊÈÇÓ
ÇáãÝÖáÇÊ