What is the name of the domain?
What is the issue you’re encountering
I have an email server on port 25 with a domain name like domain.com (no subdomain). How can I tunnel to it (what service), and how do I manage the no subdomain issue?
I have an email server on port 25 with a domain name like domain.com (no subdomain). How can I tunnel to it (what service), and how do I manage the no subdomain issue?
Is this a purely internal mail server or are you looking to send/receive emails publicly?
Because running a public mail server behind a tunnel isn’t going to work.
Thanks. Yes, publicly available email server. I imagined that one would simply do the tunnel equivalent of forwarding the port through my router, and have the port exposed by Cloudflare’s servers. If that’s not possible, then I’m not sure I understand why?
It’s not possible because Cloudflare only listens to HTTP(S) publicly. Cloudflare offers TCP, but only if both server and client have the tunnel installed, which isn’t going to help you for a public email server.
Apart from that, you wouldn’t be able to send email from a server behind CGNAT anyway. Most big email providers don’t accept emails coming from residential IPs.
Seems odd, but okay. Not something Cloudflare offers. Thanks, Laudian.
ps. Google are fine with my mail server, but lots of additional server and DNS setup required.
A TCP tunnel won’t do the trick for an email server?
Doesn’t solve my subdomain-less email server name, though.
No. TCP tunnels only work if both end have the tunnel installed.
Never mind, thank you.
I wonder if there are any similar, freeby alternatives that can tunnel to an email server?
It seems tunnelling to a self hosted email server might be a silly thing to want to do, when Cloudflare offer free email forwarding: