MX DNS record

I am trying to make my own mail server, I tried hosting it on my raspberry pi and using a tunnel to expose my local app to the outside but when I also created a MX record it said that its exposing the ip of the cname record from my tunnel but since the tunnel just has a subdomain of cfargotunnel.com in it, will it actually expose my ip?
2 Replies
Chaika
Chaika3mo ago
It won't expose your actual IP but it won't work either. Tunnels only work for http traffic without using an agent (cloudflared, or private networking with warp), on the client who wants to connect computer. You'd have to have each mailserver who wants to send mail to you to install and run cloudflared or run WARP logged into your ZT Team and you do the private network setup. in other words, it just won't work. Cloudflare doesn't have any free way to protect/proxy an SMTP server. They have CF Spectrum but it requires Enterprise for SMTP and a static ip/doesn't work with tunnels
Tuinboon
Tuinboon3mo ago
oh alright thanks for your help