this post was submitted on 09 Jun 2023
288 points (99.7% liked)
Lemmy
12514 readers
43 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The short answer: yes.
The long answer: Yes, but...
If this is your home network, you're providing attackers with an entry point into your network. You're also giving yourself an avenue to get DDOS'd etc. You'd have to open ports and get that set up - or deal with a reverse proxy or whatever.
But generally it's as easy as running a Docker container and pointing a domain at your IP.
And, of course, ensuring that your IP provider doesn't run behind a Client-Grade Network Address Translator (CG-NAT). Otherwise, you're better off renting a Virtual Private Server (VPS) or if you're particularly strapped of money and have a lot of patience, you can bridge it with your home server using a Virtual Private Network (VPS) and a good amount of scripting to remap the ports accordingly.