Networking
Created Wednesday 05 April 2023
Understanding the problem
What is DNS
You'll NEED
- a public facing IP address and/or public facing url.
Direct (again, some of the below may not be permitted by your ISP)
- In your router, use NAT to forward traffic from the desired computer/port to the desired external port.
- Determine your public IP address
optional things: You may have an issue either if you're on a MAN or if your IP address can change
- Often, your IP address can just change depending on your service. "Dynamic DNS" can be used to get around this. Essentially, you sign up with the service, and you tell your computer to ping that service every once in a while. It will then match THAT IP with a permanent domain. Nearly all paid domain services have this as an option, and there are some free ones (for the price of a crappy domain name) as well, e.g. duckdns
- Many ISP's use "MAN", which is nothing more than a big-ass router for a whole neighborhood. If this is the case, you won't be able to do the above unless they specifically provide for it (Metronet does this for me, I pay an extra $10 for a permanent IP address)
Third-party
- rent a cloud computer and put service on it
- rent a cloud computer and use it to do the forwarding
SOLUTIONS
- Paid Hosting (managed)
- VPS
- Dynamic DNS (e.g though dyndns (paid) or duckdns (free)
- ngrok is easy temporary this
Services
https://scribe.citizen4.eu/geekculture/how-to-expose-your-pc-to-the-internet-without-a-public-ip-address-c7a2c808ab6b
https://ngrok.com/
https://github.com/anderspitman/awesome-tunneling