Here the setup is similar to DDNS with Website.
Enable DDNS
Service Provider: www.noip.com
Host Name: random.ddns.net
User Name: email
Password: noip pwd
Reserve an IP
IP Address: 192.168.0.x
MAC Address: [ip addr show | grep link/ether]
Device: auto
Name: remoteSSH / remoteRDP
Type: TCP/UDP
Start Port: 22/3389
Finish Port: 22/3389 # target ports in pi
Service: SSH(22)/RDP(3389)
Action: ALLOW Always
Destination IPv4 LAN address: pi ip
Access from: Any
Source IPv4 start finish address: 0.0.0.0
Log: Always
sudo ufw allow 22
sudo ufw allow 3389
sudo ufw enable
ssh pi@random.ddns.net # pwd
sudo journalctl -t sshd # check sshd log
# rdp username:pi, server:random.ddns.net
Type: SSH
Address: ip address
Identity: username + pwd
Port: 22
Label: any name
Host: ip address
Port: 3389
Credentials Username: username
Credentials Password: pwd
Credentials Domain: empty