Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwarding UDP #93

Open
explodersname opened this issue Mar 15, 2021 · 4 comments
Open

Forwarding UDP #93

explodersname opened this issue Mar 15, 2021 · 4 comments

Comments

@explodersname
Copy link

Hello, let me give you the rundown. I am trying to forward a bedrock server from my pc at home to my computer so i can play on it from other places. Bedrock uses UDP on port 19132. I would like to know how to forward my bedrock server to my computer. I have SSF binaries downloaded for my PC at home to my laptop. I am using the following command on my Computer at home (server):
ssfd -p 19132
and the command on my laptop (client):
ssf -p 19132 (ip address of my home network)
I would think this would work but it doesnt. My laptop says "Server unreachable" after a few seconds of trying to connect.
Is there some other steps I need to take before doing this or am I using a wrong command? Or am I using the completely wrong software to do this?

@explodersname
Copy link
Author

I have also tried the client side command:
ssf -V (ip):19132:127.0.0.1:19132 -p 19132 (ip)

@p0t4t0sandwich
Copy link

p0t4t0sandwich commented Apr 15, 2021

Bedrock usually won't let you join via localhost, but since you're using the ssf I'm not sure what's going on

@willmatheson
Copy link

Thanks for the suggestion @p0t4t0sandwich - what worked for me was changing the 127.0.0.1 part to the actual local IP of my computer.

On a cloud Ubuntu server, I ran: ./ssfd -g

On my PC (Ubuntu via WSL2 on Windows 10), I ran: ./ssf -g -V cloudserverip:19132:mylanip:19132 cloudserverip

I couldn't believe it when I was able to connect to my local BDS through my phone on data! (You do have to enable this in the phone app settings - by default multiplayer is wifi only.)

You might also want to try the PowerShell commands from the wiki. I did these a long time ago, as I run BDS and play on the same PC: https://minecraft.fandom.com/wiki/Bedrock_Dedicated_Server#Connection

@omstr
Copy link

omstr commented Apr 26, 2022

Would someone be able to explain why ssf -V cloudserverlocalip:27015:localip:27015 -p 10000 cloudserverpublicip results in an unreachable connection from windows 10 client side as per this guide?: https://medium.com/@st.navybloo1/how-to-port-forward-from-a-university-network-b71c8f07a1c5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants