I am having the following problem.
I have 2 vps. 1 vps is the root server and 1 vps is aawaf installation. of course everything works independently and well. then I have the root vps connection (let's say the ip is 185.0.0.1) to cloudfare. the A record is 185.0.0.1. everything is still working fine. After I installed aawaf with ip 185.0.0.2 and read the instructions, I know that for aawaf to work well, I need to add my website with the root ip to aawaf and change my root ip on cloudfare from 185.0.0.1 to 185.0.0.2 and now the bad thing happens. I can't access my website admin. I also enabled cdn before but it didn't work either. If I turn on proxied, my website still has cache so customers can still access but can't pay or do anything, even me. But I see that vps aawaf 185.0.0.2 works. A lot of visitors to my website have to go through 185.0.0.2 and it blocks a lot of attacks. So my question is how can my website work if I add ip 185.0.02 and cloudfare
I understand that the diagram will be as follows if I turn on cloudfare: Client -> cloudfare -> aawaf -> server and this is happening and my website can't work in the admin section. It reports an error that the server cannot be found
If I don't turn on proxied, my website will crash completely
aaWAF. Cannot access website management when connecting to cloudflare
Hello, please check whether the configuration in aawaf to connect to the website server is configured correctly?
- Edited
I have put the domain name in the configuration and entered the domain ip of the root server including ssl and cdn enabled
Please check the back-to-origin configuration
- Edited
I have tried changing SSL and firewall but there is a cloudfare version that is the same but has not configured anything and still cannot connect to the server.
- Best Answerset by aaP_nguyenbaohuy1402
Hello, this means that you cannot connect to the origin server. Please check whether the back-to-origin configuration has correctly configured the access protocol. Is the aawaf IP blocked by the security software of the origin server?
- Edited
At first I only configured the IP but it still couldn't be accessed. I tried adding these 3 configurations (just added). As for aapanel, I just reinstalled it and I'm using openlitecache, not using nginx or apache and also haven't installed any firewall in aapanel. Is it possible that firewall plugins on my website have the ability? tôi add 1 domain IP + XXXX , 1 IP sever :XXXX , 1 IP sever
and let me ask. Does it matter if I'm using openlitecache instead of nginx or apache?