I need to hide the IP of the site. How to do it?
Hm, from what I understand and if you want to achieve it via Cloudflare, you could.
If you are using Cloudflare for your domain name, you could “mask” your real origin host / server IP by switching your hostname DNS records like A www
and A yourdomain.com
to proxied mode cloud.
That way, the IP for the A type of DNS record would be seen as it’s from USA, Cloudflare.
The problem is not A, but MX. I think there’s nothing to be done.
Unfortunately as it states:
Cloudflare’s default configuration only allows proxying of HTTP traffic and will break mail traffic.
Source:
- https://support.cloudflare.com/hc/en-us/articles/200168876-Email-undeliverable-when-using-Cloudflare
You could use some relay server to “hide” your real IP, but I doubt as it would end up in some of the e-mail headers (if not being removed) - which could cause possible issues to your e-mail not being delivered or marked as a junk one.
Or some solution as a proxy/relay server of JavaPipe infront of your origin (for specific/needed ports) for example:
Otherwise, I would suggest using Cloudflare Business or even Enterprise plan for SMTP including the Cloudflare Spectrum service:
Is your e-mail being hosted on the same origin host / server as your Website?
Best practices for MX records on Cloudflare:
- Use separate IP addresses for mail traffic and HTTP/HTTPS traffic. Cloudflare recommends using non-contiguous IPs from different IP ranges.
In terms of using e-mail with Cloudflare:
Thanks.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.