You need to expose the ports you want to access on an external, publicly accessible server like a cheap vps. Then you can use wireguard to forward the traffic to your Pi.
I haven’t done it in a long while, so I can’t explain it well enough, try searching for “vps wireguard gateway”. That should bring up some blog posts that will explain the process better. I used a VPS I got on the AWS free tier, you really don’t need anything expensive.
I’ve just received an offer from a large company in the gambling industry. I am somewhat conflicted about taking it, on one hand I feel adults should be allowed to decide to waste some money at a casino and I have no issue with gambling as an activity. But, while I don’t feel gambling is inherently bad, I am aware that the companies in the industry are incredibly predatory and invest significant amounts of resources into making their products and services as addictive as possible.
My current job is basically just helping further the CCP’s global expansion so I feel gambling is somewhat better ¯\_(ツ)_/¯
Im hoping for another offer from a company who do software for the insurance industry, that would be first prize…