Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mox behind Nat dynamic public IP #260

Open
jujoparo opened this issue Dec 9, 2024 · 1 comment
Open

Mox behind Nat dynamic public IP #260

jujoparo opened this issue Dec 9, 2024 · 1 comment

Comments

@jujoparo
Copy link

jujoparo commented Dec 9, 2024

Dear sir.

I have a homelab sever behind a dynamic public IP router with NAT. I have also a daemon that continuously updates the IP in the DNS server.

Talking about Mox, Is It possible to use a public dynamic IP behind Nat? Is it possible to specify a Fqdn in the IPs settings like this:

IPs: mailserver.domain.com, 192.168.1.1
NATIPs: 192.168.1.1

What would it happen if after the server starts the pubic IP changes? Would it be necessary to restart the mail sever?

Thank you very much for your help.

@mjl-
Copy link
Owner

mjl- commented Dec 9, 2024

It should be possible to run mox in such a setup, thought it's indeed not a great situation.

You would normally configure NATIPs with your actual external IPs. You could try to automated setting them. But you can also leave them empty. The DNS selfchecks will complain, but you are of course free to ignore those warnings.

You wouldn't have to restart mox when an IP changes, at least not if you don't change mox.conf (which has the NATIPs setting). If you do change NATIPs, then you must restart mox afterwards.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants