Manually specify IP address for nohost domain?

I’m currently working on setting up an SSH tunnel from yunohost running on a rasperry pi (behind a router which does not allow port forwarding) to a digital ocean droplet, to bypass the router and expose the pi to the public internet.

Its working, however I’m wondering how to tell the yunohost nohost domain about the public IP address of the digital ocean droplet? Is there a way to manually configure the IP address for a nohost domain?

Fwiw this is the command I’m using to create an SSH tunnel from the pi to the digital ocean droplet:

autossh -i ~/.ssh/id_rsa -M 20000 -f -N root@MYVPSIP -R -R -R -R -R -R -R  

In addition to changing the config in /etc/ssh/sshd_config to enable the following two settings:
GatewayPorts Yes
PermitTunnel Yes

(based off of this: Expose easily a ynh local ynh server with a small public vps · Issue #2191 · YunoHost/issues · GitHub)