Usecase -> not able to port forward in your network.
Assumptions:
12345 is the mc server's port that its opening on the remote server (25565).
User mc is the user on the minecraft server.
User minecraft is the user on the cloud SSH server.
If you have fail2ban installed, make sure to add the following to /etc/fail2ban/jail.local: