The bigger issue is if your ISP puts you behind a CGNAT in which case you’ll need a product like cloudflare tunnels or you can roll your own with a vpn tunnel and a vps with a static IP.
Some ISPs provide static IPs for an additional fee. Also, there are services like Cloudflare[1] and NoIP[2] that provide Dynamic DNS (DDNS) so you can tie your dynamic IP to a static address.
Cloudflare Tunnel is another increasingly popular solution (proxying all your traffic via cloudflare, with the CF Tunnel client taking care of establishing the backend<->cloudflare connection)
Of course you can do a similar thing yourself by getting a cheap VPS somewhere (~$2/month with no-name hosters from lowendbox.com) and connecting your server to it via wireguard
The bigger issue is if your ISP puts you behind a CGNAT in which case you’ll need a product like cloudflare tunnels or you can roll your own with a vpn tunnel and a vps with a static IP.