Thanks will take a look! Sad to hear you eventually gave up but I’m encouraged by the concept. It would make my current setup much simpler and is in keeping with my ethos that I want as much as possible done locally. The VPS should be no more than a piece of networking infrastructure.
Comment on VPS Proxy Gateway and Mailu
stown@lemmy.world 1 year ago
One quick tip for your email setup - you want to set up routing rules (not NAT). I struggled with this for quite a while before I eventually gave up though. I started to write a tutorial but it remains unfinished. Check it out, might be helpful for you. github.com/…/Wireguard-VPS-Port-Forward
bazmatazable@reddthat.com 1 year ago
stown@lemmy.world 1 year ago
Yeah, I gave up because it wasn’t really necessary for me. I have a /29 plus I can open ports so I just decided to set up an SMTP relay on my VPS because my ISP blocks outbound on port 25. I can still do inbound on port 25 so no issues receiving emails. It actually might benefit you to have an SMTP relay on the VPS to properly route the outbound email if you don’t want to have two Wireguard tunnels running.
revv@lemmy.blahaj.zone 1 year ago
This is pretty much how I’m hosting a similar set of services to you. I have a couple of dirt cheap VPSs ($10/yr via racknerd) which serve as public access points. One provides a wireguard tunnel and port forwarding to a mailinabox instance serving mail for my various domains, the other runs a wireguard tunnel and nginx reverse proxy for all my public-facing services. A little fiddly to set up the port forwarding, but it’s been rock solid since I set it up.
Re: email, it’s not too hard, but it is unforgiving. Mailinabox makes it much, much easier to set up an email server that doesn’t automatically go to spam. Basically though, if you have your SPF, DKIM, DMARC and RDNS set up correctly, your golden. Mailinabox takes care of all of it except RDNS.
mtjcreative@mastodon.social 1 year ago
@revv @stown My problem with mailinabox is that my outgoing mail gets blocked by Spamhaus. Mailinabox was fairly easy to setup thanks to @MickInTX. However, until I figure out the outgoing block, its unusable. It could be a problem with Linode where I host my mail server, but neither Linode or Spamhaus could give a me a resolution.
stown@lemmy.world 1 year ago
If you like Mail-in-a-box just wait until you check out Mailcow!