Cyber Panel: Difference between revisions
Johan Efendi (talk | contribs) No edit summary |
Johan Efendi (talk | contribs) |
||
Line 15: | Line 15: | ||
# Restart litespeed | # Restart litespeed | ||
</syntaxhighlight> | |||
=Shortcut= | |||
<syntaxhighlight lang="bash" style="overflow: auto;"> | |||
# Trigger daily backup | |||
/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py Daily | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 19:20, 4 September 2024
Deteksi IP Cloudflare
nano /usr/local/lsws/conf/httpd_config.conf
# Tambahkan
useIpInProxyHeader 1
# Tambahkan
accessControl{
allow ALL, 173.245.48.0/20T, 103.21.244.0/22T, 103.22.200.0/22T, 103.31.4.0/22T, 141.101.64.0/18T, 108.162.192.0/18T, 190.93.240.0/20T, 188.114.96.0/20T, 197.234.240.0/22T, 198.41.128.0/17T, 162.158.0.0/15T, 104.16.0.0/13T, 104.24.0.0/14T, 172.64.0.0/13T, 131.0.72.0/22T
deny
}
# Restart litespeed
Shortcut
# Trigger daily backup
/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py Daily