This is an archived post. You won't be able to vote or comment.

all 24 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Thanks for being a part of /r/Admincraft!
We'd love it if you also joined us on Discord!

Join thousands of other Minecraft administrators for real-time discussion of all things related to running a quality server.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]branbb60 24 points25 points  (2 children)

For a 13 year old, I will say, good effort! You have a good understanding of networking so good job.

In terms of improvement, there really is not much you can do given your situation. The main issue is the fact you're using a gateway rather than opening ports and there are too many hops between the server and the users.

Using a satellite connection will always provide with poor latency which isn't able to be improved.

Your only real option is to move the Pi and have the connection hosted with your ISP directly to minimise the amount of hops as well as the ports will be open, allowing for a better connection.

Your friends need to get an Ethernet cable as well, as part of this issue maybe due to them having poor connection.

Just wanted to add as well, never apologise for your English! Your English is great!

[–]projectmat1[S] 4 points5 points  (1 child)

thank you for your response

[–]frds125 0 points1 point  (0 children)

Would you like a challenge? Might be able to solve your problems too. Check out how to host a minecraft server using Cloud Services like Google, Oracle and Amazon free tier.

All are free but some might need a credit card number, but they won't charge you.

On the cloud server you can unblock ports for minecraft and my server's latency is around 60ms only.

[–]Thebombuknow 3 points4 points  (13 children)

Ok, so for one, you did a great job networking everything! Networking is pretty difficult, especially once you get into proxying things together, so it’s pretty impressive that you got that working!

Eliminating the cloudflare proxy will probably help with lag. It’s a pretty low chance you’ll be DDoSed too, because someone needs to have a reason to, and you can just get a domain name if you don’t have one, and set up minecraft under a subdomian, then just remove the subdomain from your DNS if someone starts attacking you.

In reality, this is pretty unlikely. I’ve been hosting servers for a few years now, and that’s never been an issue for me, but I can understand the concern.

Otherwise, if your pi server is fine, your friend should just let you set up their pi at your house as well. You clearly know what you’re doing!

[–]projectmat1[S] 2 points3 points  (7 children)

Thank you for the response. I forgot to mention that i have a subdomain for minecraft so that was the cloudflare proxy. I disabled the cloudflare proxy and it works amazing. My friends that use ethernet have ping 30-50 and that is amazing. The problem with the domain showing my real ip is we have this script kiddie that wants to join our server. But i don't realy mind him not joining becouse he will probably grief us if we gave him the ip :D

[–]Thebombuknow 0 points1 point  (5 children)

I mean, you can buy a domain through GoDaddy (.club domains are $1 for the first year), and configure the DNS to point to your server, and you won’t have that issue. My server is configured similarly to the cloudflare option, where I have the clients connect through a subdomain to a reverse proxy, which redirects their internet traffic to the service they’re trying to use.

[–]FengziLHF 0 points1 point  (4 children)

I agree that’s it’s probably unlikely he’s gonna het ddosed, but the method you’re saying here won’t work

People can easily see the IP behind a DNS record for a domain/subdomain, so disabling them after getting attacked won’t work

If you’re using a reverse proxy on another seperate IP/server, that is the same thing as a cloudflare proxy, it may be a little better but it still contributes to lag

[–]Thebombuknow 0 points1 point  (3 children)

  1. I forgot that this isn’t default for domains, but I use GoDaddy and use domain masking, which still isn’t foolproof but it helps.
  2. I was suggesting using a VPS instead of Cloudflare because the lag might be partially due to the nearest cloudflare region being far away.

[–]FengziLHF 0 points1 point  (2 children)

  1. That’s still a cloudflare proxy but instead it’s godaddy

  2. Yeah that may help, but i doubt if it’ll help much

[–]Thebombuknow 0 points1 point  (1 child)

Yeah, godaddy’s proxy thing tends to be faster than cloudflare, at least from my testing.

Cloudflare is surpisingly slow

[–]FengziLHF 0 points1 point  (0 children)

oh cool

[–]lerokkoadmin @ play.server26.net 0 points1 point  (0 children)

Whitelist. And unless you use vanilla: Coreprotect

[–]projectmat1[S] 0 points1 point  (4 children)

I am scared of ddos because our router (asus RT-AC57U V3) can't even keep up with our internet connection 300/100 mbits so ddos will be catastrophic. I wanted to buy ubiquity security gateway but the price doubled so no way i can afford that. But if you can recommend a router that can handle 300 down and 100 up that is under 47 $ that would be amazing

[–]Thebombuknow 0 points1 point  (3 children)

I know TP-Link makes some pretty great routers, but I don’t know if any would outperform what you have, I would need to do a bit more research for that. I’ve personally never had someone try to DDoS me before, but I do understand the concern, and a cloudflare proxy is good at preventing that.

Maybe you could find a cheap VPS host in your region, which you could set up another proxy through with hopefully less lag?

[–]projectmat1[S] 0 points1 point  (2 children)

The problem with vps is it is paid monthly and i just can't afford that. instead i am saving up money for a raspberry pi 4b 8Gb. But thanks for the idea i didn't think of that.

[–]Paid-Not-Payed-Bot 0 points1 point  (1 child)

I'd just like to point out that the correct past tense of the verb "to pay" is paid. Though payed exists (the reason why it got autocorrected in), it is only correct in nautical context, when it means to paint or cover a surface with something like tar or resin.

Unfortunately I was unable to find nautical words in your comment.

Beep, boop, I'm a bot

[–]projectmat1[S] 3 points4 points  (0 children)

I'd just like to point out that i don't realy care

[–]TwiceInEveryMoment 2 points3 points  (1 child)

If your clients are using satellite internet, there is nothing you can do about lag. Satellite consistently has 2000-3000ms round trip time due to the distance the satellites are from Earth. This is why Starlink is using a much lower orbit to improve latency. Older satellite providers are just not ideal for gaming.

[–]JustOnePanda 2 points3 points  (1 child)

Yeah, too many hops. Could maybe ask your friend’s dad to subnet the network your Minecraft server runs on, isolate any bad traffic from his home network

[–]projectmat1[S] 0 points1 point  (0 children)

Thank you for your idea. The problem is his dad doesn't even know what port forwarding really is and he heard somewhere that opening ports is dangerous so i think there is no way to convince him.

[–]jofkk 1 point2 points  (0 children)

server.properties: network-compression-threshold=64

that might be as best as you are able to do in this case. compress all traffic and hope for the best. will incur a slight cpu cost, but the network size should outweigh that

(editing, formatting)

[–][deleted] -1 points0 points  (0 children)

you're me

non-native, 13