Skip to content

Getting Started

chucklessducks edited this page Mar 12, 2022 · 3 revisions

Are you stuck behind a CGNAT or does your ISP blocks certain port that makes self-hosting impossible or do you just want a static IP address? Well here is a good solution. I wanted to put together an in-depth instruction manual on how to exactly get around a CGNAT or your ISP. I found myself searching the web for a perfect solution to this but always came up short or found old guides that did not work. After many months of struggling with this, I have finally found a solution.

My overall goal with this project was to self-host my own email server, but my ISP blocks port 25 and they do not offer a static IP address. Before I was using DuckDNS to get around having to change my IP address all the time but I wanted to host a mail server and need more freedom from my ISP. When you look up how to host your own mail you end up hearing how hard it is or how stupid it is to do it and to just go do something else. With programs like Mailcow out there setting up an email, the server is a breeze.

In this guide, I will try to explain everything that I did to set up my mail server so that it is as simple as it looks. The following steps should be done in order. (I'm not sure what they will do if you do them out of order?)(also I am not a network engineer so I don't know much so some things could be wrong or stupid but it works for me!)

  1. Prerequisite
  2. VPS Setup
  3. WireGuard Setup
  4. Nginx Proxy Manager
  5. MailCow Setup
Clone this wiki locally