Hi,
we have the requirement to connect to an SMTP server via port 25 and traffic must originate from a well known public IP.
So we did setup a NAT Gateway, connected our Function (Premium Plan) to the subnet and linked everything to use the public IP for outbound traffic.
In the subscription (Pay as you go) settings we also followed the process to unlock port 25, it says to no longer be restricted.
Despite all of this, our connection attempts still timeout. Our debugging attempts via telnet / netcat run into the same errors.
We used a second provider (mailtrap) to verify the connectivity issues are not related to the other party. Also there, connection attempts on port 25 run into timeouts.
Other outgoing requests, e.g. to port 2525 or 587 with mailtrap are successful and use the public IP.
What else is there we can do to further debug the issue and enable us to send the mails via port 25?
Is any of our components blocking this without a chance to unlock? (Function, NAT Gateway, ...)?
Any help is much appreciated. Thanks!
Cedric