Running a server behind a NAT; Matrix

Currently I'm trying to figure out how to run a server when one is behind a NAT. In this situation a person wants to make a service (http, ssh ...) available to others on their home server. Consumer internet access is available to the server. In this configuration the server is behind a NAT. The server has no ip address someone from the internet can connect to.

Also I've discovered envs.net . It's a shared linux system in the spirit of tildes and pubnixes. And it has a matrix server.

=> envs.net

=> Home

Proxy Information
Original URL
gemini://tilde.pink/~gaussianblue/gemlog/posts/nat.gmi
Status Code
Success (20)
Meta
text/gemini;
Capsule Response Time
6.804946 milliseconds
Gemini-to-HTML Time
0.19599 milliseconds

This content has been proxied by September (3851b).