Minecraft / Plex setup - with custom domain
Hey everyone. This is an insanely awesome product that I wish I knew about earlier! That said, like most, I’m using an ISP that utilizes a CG-NAT and I’m trying to get around it.
I have 1 physical server, running Minecraft Java Server, Apache, and Plex. Currently, Apache is the only thing working (and very quick!) The nuts I can’t crack are Minecraft and Plex.
My home network utilizes 10.0.1.XXX subnet. Everything I have is using the default ports.
My syntax to start Apache is:
loclx tunnel http —to 10.0.1.10:8080 —reserved-domain www.mydomain.com (obfuscated, of course)
I then added a CNAME in my DNS entry through Google Domains and within minutes it propagated.
Works without a hitch! I literally type www.mydomain.com in any device and it pops right up.
My syntax for Minecraft is:
loclx tunnel tcp —to 10.0.1.10:25565 —port 25565 —reserved-domain minecraft.mydomain.com
I then added a CNAME in my DNS entry for minecraft.mydomain.com.
I keep getting the error “Incorrect Usage: flag provided but not defined: -reserved domain”
I don’t know what I’m doing wrong?
I also can’t seem to wrap my head around “Endpoints”. In the article describing how to set up Minecraft to be exposed to the outside world, it’s with this syntax:
loclx tunnel tcp —to 127.0.0.1:46629 —port 46629 —region ap
In this case, 127.0.0.1 is the same as 10.0.1.10 on my system. I can only assume to use a custom domain with tcp forwarding you would replace —region ap to —reserved-domain, otherwise if you can’t forward your Minecraft server to a custom domain where the domain never changes, it kind of defeats the purpose?
Any help is truly appreciated!!
Subscribe to post
Get notified by email when there are changes.