Hi
I have a v2ray server configured
The VPS has certbot SSL installed so I made the x-ui panel use a supported HTTPS port
However when I connect to the server it just tells me it can’t connect and when I look at my DNS records on Cloudflare it appears it’s blocks the incoming requests (considers them invalid API requests)
I want to mask the IP so that the actual VPS IP isn’t detected when using the config.
Can anyone help with this?
Hi there @ArshiaAghaei thanks for reaching out to our Community, sorry to hear you are having issues.
You mentioned:
The VPS has certbot SSL installed so I made the x-ui panel use a supported HTTPS port
Perhaps you can share more details regarding your v2ray server configuration, and how you are attempting to integrate/proxy it with Cloudflare?
However when I connect to the server it just tells me it can’t connect
Which error message are you observing, can you paste it here and share some screenshots?
[…] it appears it’s blocks the incoming requests (considers them invalid API requests)
Which error responses are observed, and where are you observing these requests being blocked?
I found this tutorial that might be useful for your use case, be sure to have a look:
Also, please note the following steps:
Make sure you’re not using a blocked port by Cloudflare. Cloudflare only supports a specific set of ports, and using a non-supported port will not work through the CDN. You can find the list of supported ports here: Network ports · Cloudflare Fundamentals docs
Ensure that you have set up an A or CNAME DNS record for your VPS server in the Cloudflare DNS dashboard. This should point to the correct IP address or domain of your V2ray server.
Double-check your SSL configuration in the Cloudflare dashboard. You should have SSL mode set to “Full (Strict)” and ensure that your VPS server has a valid SSL certificate. Learn more about SSL options here: Reference · Cloudflare SSL/TLS docs
Check if there are any firewall rules or WAF rules in the Cloudflare dashboard that might be blocking the connection. If you find any, try adjusting the rules or temporarily disabling them to see if the issue is resolved.