Pugmatt / BedrockConnect

Join any Minecraft Bedrock Edition server IP on Xbox One, Nintendo Switch, and PS4/PS5
GNU General Public License v3.0
1.37k stars 159 forks source link

BedrockConnect Setup #469

Closed TechGamer49 closed 5 months ago

TechGamer49 commented 5 months ago

What happened?

Hello, I was wondering how you got the 45.55.68.52 address to work for the server list. I am using NextDNS and can’t get it to work but I managed to get it to run locally on my network but was wanting to have it public so other devices outside my local network can join

Expected Behaviour?

I expected it to display correctly in the featured server list.

Steps to reproduce.

No response

Screenshots/Videos

No response

Minecraft Bedrock Version

1.20.51

Console

PlayStation 5

Additional Context

I would like further help on getting this setup. I followed the video closely that was 3 years ago that explained how to do it.

TechGamer49 commented 5 months ago

How did you get yours setup @Pugmatt? Like what all did you use DNS wise.

Pugmatt commented 5 months ago

I'm not really sure how NextDNS works, but will try my best to help. The video tutorial you're referencing is for how to host a setup for devices on your local network, making it public will require a bit more setup. My BedrockConnect setups are all hosted on Linux servers through a paid host, but if you're using NextDNS for your DNS and your own network for the BedrockConnect instance you will need to make sure the following is considered:

TechGamer49 commented 5 months ago

So would I port forward the Routers IP Address? The link that gives the IP Address is the same on button web pages. All the ports are forwarded to the public IP which include port 53, 19132-19133 and my computer uses ports 19134-19135 that is connected to the devices IP. And I see something about Internal for local and external for Public. What all configuration did you use @Pugmatt

Pugmatt commented 5 months ago

You would want to make sure you have the ports forwarded in your router's settings. Assuming you are hosting your BedrockConnect instance on that network.

Your configuration will depend on how NextDNS works. On mine (Which uses bind9 for the DNS server, which is a self-hosted solution) I'm using the DNS domain records stated previously https://github.com/Pugmatt/BedrockConnect#using-your-own-dns-server, which redirects the domains to the public IP address of the Linux server hosting the BedrockConnect instance.

In that doc mentioned before, by "external" I mean public IP, and "internal" I mean private IP address. What may be easier for your use-case, is use NextDNS for devices outside your network to join, and then continue using a locally-hosted DNS server like in the previous video tutorial for any local devices on your network. Have your NextDNS setup set to redirect the domains to your public IP address, and your locally-hosted DNS for your personal-use redirects to your private IP address as shown in the video tutorial. As you may be running into the issue stated in the "Making it so local/LAN devices can still connect" section.

TechGamer49 commented 5 months ago

So it gives me two dns addresses that end in .235 and is also bind to the public ip address

TechGamer49 commented 5 months ago

I will reply with screenshots

TechGamer49 commented 5 months ago

So I did the public IP Address and the ports that are forward are 53, 19132-19133. Remote IP addresses is set to All

TechGamer49 commented 5 months ago

The way I have NextDNS setup is it gives me 2 dns addresses to put in to the manual dns servers

TechGamer49 commented 5 months ago

My external starts with 216 and my internal starts with 192

TechGamer49 commented 5 months ago

NextDNS starts with 45

TechGamer49 commented 5 months ago

Would I have to port forward my DNS or Not? Can you list out the steps I need to take apart from the different faq sections in the troubleshooting?

TechGamer49 commented 5 months ago

Am I allowed to post IP Addresses or not? Thought I would ask

TechGamer49 commented 5 months ago

NextDNS doesn’t have an option to redirect but gives me the DNS info to setup on windows network adapters and the addresses for different devices

TechGamer49 commented 5 months ago

Here is a video that shows the interface on NextDNS that a YouTuber did. https://youtu.be/WUG57ynLb8I?si=o_6LBiI4ofwF_eLc

TechGamer49 commented 5 months ago

Bind9 compared to adguard home and NextDNS

Pugmatt commented 5 months ago

Would I have to port forward my DNS or Not? Can you list out the steps I need to take apart from the different faq sections in the troubleshooting?

Port forwarding is needed when you need to allow outside devices onto your network for specific ports. NextDNS are pre-made services so all ports should already be public. Again, I do not have experience with these platforms so I can't list out steps here for you.

so I point it towards those zones? And do I use my own dns or the dns that’s listed in that table.

You point those zones TOWARDS your BedrockConnect instance's IP address. The point of the DNS server is to redirect those featured server domains TO the BedrockConnect instance. The IP address listed in that table is not the DNS, it's the BedrockConnect instance. You can either use "104.238.130.180" which is my already hosted BerockConnect instance, or if you're hosting your own on your network you can use that one, in which case you would put in your public IP address of the network that's hosting your BedrockConnect instance. (Again, NOT the DNS server IP address, your BedrockConnect server launched from the .JAR file)

lixiaolong2007 commented 5 months ago

emm,I drew a schematic that may not be correct, but understanding it will be helpful for you to set up DNS2024-01-13-02-12-19-441.jpg

lixiaolong2007 commented 5 months ago

I haven't used nextdns before, so I can only provide this help

TechGamer49 commented 5 months ago

Thanks for all the help and I have seemed to finally figure it out so I put the Minecraft server domain and point it towards my Public IP Address when will go towards the bedrock connect server and so my Minecraft server since it’s local might be able to run on NextDNS as well!!

Sent from TechGamer49

On Friday, January 12, 2024, 11:14 AM, lixiaolong2007 @.***> wrote:

I haven't used nextdns before, so I can only provide this help

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

TechGamer49 commented 5 months ago

Update: I switched to Ubuntu server with bind9

Sent from Yahoo Mail for iPhone

On Friday, January 12, 2024, 4:10 PM, Riley Liakos @.***> wrote:

Did I do it correctly?

Sent from Yahoo Mail for iPhone

On Friday, January 12, 2024, 1:27 PM, Riley Liakos @.***> wrote:

Thanks for all the help and I have seemed to finally figure it out so I put the Minecraft server domain and point it towards my Public IP Address when will go towards the bedrock connect server and so my Minecraft server since it’s local might be able to run on NextDNS as well!!

Sent from TechGamer49

On Friday, January 12, 2024, 11:14 AM, lixiaolong2007 @.***> wrote:

I haven't used nextdns before, so I can only provide this help

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

TechGamer49 commented 5 months ago

I got the local ip to work and have it port forwarded and have my public ip address in the install-bind.sh file but I am unable to connect still. The sudo install-bind.sh command said it was invalid. I used nano to open the file and manually put it in the file and saved. IMG_0929 IMG_0930 IMG_0931 IMG_0932

TechGamer49 commented 5 months ago

This issue has been self-resolved :) thanks for the help @Pugmatt @lixiaolong2007

TechGamer49 commented 5 months ago

This issue has been self-resolved :) thanks for the help @Pugmatt @lixiaolong2007