# Using Google Cloud Platform

**URL:** <https://discourse.mailinabox.email/t/using-google-cloud-platform/637>\
**Category:** Help with Setup/Upgrade\
**Created:** [July 2, 2015, 5:39pm UTC](https://discourse.mailinabox.email/t/using-google-cloud-platform/637 "2015-07-02T17:39:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigpig](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/b/ecae2f/32.png) [@bigpig](https://discourse.mailinabox.email/u/bigpig)\
**Post date:** [July 2, 2015, 5:39pm UTC](https://discourse.mailinabox.email/t/using-google-cloud-platform/637/1 "2015-07-02T17:39:53Z")

</div>

Google Cloud Platform disallows sending via port 25 (ref : [https://cloud.google.com/compute/docs/tutorials/sending-mail](https://cloud.google.com/compute/docs/tutorials/sending-mail)), given this constraint how can I setup mail-in-a-box?

---

<div class="post-metadata">

**Author:** ![JoshData](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/joshdata/32/2153_2.png) [@JoshData](https://discourse.mailinabox.email/u/JoshData)\
**Post date:** [July 2, 2015, 5:53pm UTC](https://discourse.mailinabox.email/t/using-google-cloud-platform/637/2 "2015-07-02T17:53:13Z")

</div>

Well, don’t use Google Cloud Platform, for starters.

(Two providers are recommended in the setup guide. I’d suggest one of those.)

---

<div class="post-metadata">

**Author:** ![bigpig](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/b/ecae2f/32.png) [@bigpig](https://discourse.mailinabox.email/u/bigpig)\
**Post date:** [July 2, 2015, 6:42pm UTC](https://discourse.mailinabox.email/t/using-google-cloud-platform/637/3 "2015-07-02T18:42:43Z")

</div>

There is a reason I need to stick with GCP. If anyone has any helpful guidance on hacks to make this work on HCP that would be appreciated.

---

<div class="post-metadata">

**Author:** ![JoshData](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/joshdata/32/2153_2.png) [@JoshData](https://discourse.mailinabox.email/u/JoshData)\
**Post date:** [July 2, 2015, 6:57pm UTC](https://discourse.mailinabox.email/t/using-google-cloud-platform/637/4 "2015-07-02T18:57:31Z")

</div>

There is a reason the box needs port 25…

---

<div class="post-metadata">

**Author:** ![PortableTech](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/portabletech/32/134_2.png) [@PortableTech](https://discourse.mailinabox.email/u/PortableTech)\
**Post date:** [July 3, 2015, 5:15pm UTC](https://discourse.mailinabox.email/t/using-google-cloud-platform/637/5 "2015-07-03T17:15:10Z")

</div>

I suppose if you really were determined to make this work, you could look at the suggestion Google makes for using Enterprise Mail Servers, where you would need to open a VPN session to a point where you would have a static facing IP that you could then forward back there. This probably would require some specific setting to ensure MiaB would only send traffic over the VPN link and not any other outbound route.

Honestly, seems an awful lots of trouble, and introducing single points of failure to make this work when there are many other freeish and cheap options.

---

<div class="post-metadata">

**Author:** ![alento](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/alento/32/1371_2.png) [@alento](https://discourse.mailinabox.email/u/alento)\
**Post date:** [September 15, 2020, 1:45pm UTC](https://discourse.mailinabox.email/t/using-google-cloud-platform/637/7 "2020-09-15T13:45:25Z")

</div>

Necro’ing a 5 year old post. Please don’t do this again.

While your helpful attitude is extremely appreciated, there is no reason to necro a 5 year old post.
