Like most residential ISPs, my ISP blocks port 25 to keep me from running a mail server. For reasons unimportant to this thread, I do not want to run the mail server on the VPS if I don't have to. What I want to do instead is get a VPS just to use its open port 25, forwarding it to my mail server, which is running at home, maybe on a different port. What's the easiest way to do this?

I want to be able to send and receive emails to and from my home server, using the VPS proxy for both.

  • Just use a SOCKS proxy? – Barmar Jun 22 '18 at 20:07
  • Or SSH port forwarding. – Barmar Jun 22 '18 at 20:08

Ignoring the mountain you are about to climb (re mail deliverability and reputation issues) , the solution is simple -

Set up a VPN server on the VPS and a client on your mail server, ensuring it has a default route out the VPN.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.