DigitalOcean port 25 unblocking
-
App Devwrote on Feb 21, 2024, 6:13 PM last edited by girish Feb 22, 2024, 9:28 AM
Hello,
I contacted DigitalOcean support about unblocking the outbound port 25 on my droplet hosting Cloudron, as described in the docs
They replied to me with the following:
As I know Cloudron handles firewall configuration by itself and that it shouldn't be modified, I was wondering about how would I go to unblock the port 25?
Should I do it myself directly in their admin interface?
What would be "the Cloudron way" or recommend and safe method by the team?
Regards.
-
wrote on Feb 21, 2024, 6:15 PM last edited by
Is mail turned on and configured?
Check
iptables -L | grep 25
? -
wrote on Feb 21, 2024, 6:33 PM last edited by
Then it's not a Cloudron issue. You can telnet or nc from the box to any mail server on port 25 and check manually.
-
Then it's not a Cloudron issue. You can telnet or nc from the box to any mail server on port 25 and check manually.
App Devwrote on Feb 21, 2024, 7:18 PM last edited by Lanhild Feb 21, 2024, 7:19 PM@robi I tried to set a firewall rule to allow outbound traffic from tcp port 25 on my DigitalOcean droplet, but then I can't access
my.example.com
, as if the server was down. My guess is that I'm doing the wrong thing.
Any clues? -
wrote on Feb 21, 2024, 7:30 PM last edited by
@Lanhild You set it wrong, you need to set ports 80, 443, 25 and 22 in the list "Inbound Rules".
-
@Lanhild You set it wrong, you need to set ports 80, 443, 25 and 22 in the list "Inbound Rules".
@matix131997 Just tried this, the port 25 still shows up as
filtered
.This isn't a Cloudron issue anymore, so I'll stop posting in this topic.
-
@matix131997 Just tried this, the port 25 still shows up as
filtered
.This isn't a Cloudron issue anymore, so I'll stop posting in this topic.
wrote on Feb 21, 2024, 7:47 PM last edited by@Lanhild This looks like a damaged Droplet.
-
You need to open a new ticket with DigitalOcean and request both inbound and outbound port 25. Outbound is what's blocked according to the screenshots you've sent.
-
-