My solution for this type of situation is MicroBin running on my home network from a non-standard port, with a port knocker to open and close the port when needed.
My router handle DDNS so I can always contact my home network easily. I port-knock to trigger an iptables command on the router to forward traffic to the MicroBin host.
I also have my phone set up to connect via openvpn to my home network so that I can remotely do things like start and stop services, set port forwarding rules, etc.
My solution for this type of situation is MicroBin running on my home network from a non-standard port, with a port knocker to open and close the port when needed.
My router handle DDNS so I can always contact my home network easily. I port-knock to trigger an iptables command on the router to forward traffic to the MicroBin host.
I also have my phone set up to connect via openvpn to my home network so that I can remotely do things like start and stop services, set port forwarding rules, etc.