You are not logged in.

#1 2024-11-24 01:55:59

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

[SOLVED] Minecraft Server with IPv6

Hey, I'm trying to setup minecraft server using IPv6, I've setup the firewall rules in my router but I can't connect to it, i successfully connected like twice (randomly) but later couldn't with similar firewall rules. SSH and media server works perfectly fine so likely a issue with firewall rules, also i can connect to minecraft server while on LAN.

My ISP is JIO and I'm using JIO router, my firewall rule is something like,
Custom service TCP service for port 19133 (default IPv6 minecraft-bedrock-server port)
Inbound type firewall rule using that service for any source and destination IP.

Anything else i can provide to help troubleshoot?

Last edited by Elixirslayer (2024-11-27 08:39:29)

Offline

#2 2024-11-24 08:59:08

-thc
Member
Registered: 2017-03-15
Posts: 775

Re: [SOLVED] Minecraft Server with IPv6

Are you aware of this statement:

bedrock_server_how_to.html wrote:

The Linux version of the Bedrock Server requires Ubuntu 18 or later. Other distributions are not supported.

Does on the machine hosting the server

sudo ss -u -n -l -p | grep 1913
sudo ss -t -n -l -p | grep 1913

show the bedrock server listening?

Last edited by -thc (2024-11-24 08:59:43)

Offline

#3 2024-11-24 09:05:11

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] Minecraft Server with IPv6

-thc wrote:

Are you aware of this statement:

bedrock_server_how_to.html wrote:

The Linux version of the Bedrock Server requires Ubuntu 18 or later. Other distributions are not supported.

Does on the machine hosting the server

sudo ss -u -n -l -p | grep 1913
sudo ss -t -n -l -p | grep 1913

show the bedrock server listening?


So, the minecraft-bedrock-server AUR package won't work? It does run fine on LAN, I'll test it on Ubuntu aswell.


┌──(oc㉿ArchOp)-[~]
└─$ sudo ss -u -n -l -p | grep 19133
UNCONN 0      0                                      *:19133            *:*    users:(("bedrock_server",pid=16212,fd=10))

┌──(oc㉿ArchOp)-[~]
└─$ sudo ss -t -n -l -p | grep 19133

Last edited by Elixirslayer (2024-11-24 09:05:34)

Offline

#4 2024-11-24 09:43:34

-thc
Member
Registered: 2017-03-15
Posts: 775

Re: [SOLVED] Minecraft Server with IPv6

Elixirslayer wrote:

So, the minecraft-bedrock-server AUR package won't work? It does run fine on LAN, I'll test it on Ubuntu aswell.

No - just be aware of an unsupported configuration.


Elixirslayer wrote:
┌──(oc㉿ArchOp)-[~]
└─$ sudo ss -u -n -l -p | grep 19133
UNCONN 0      0                                      *:19133            *:*    users:(("bedrock_server",pid=16212,fd=10))

┌──(oc㉿ArchOp)-[~]
└─$ sudo ss -t -n -l -p | grep 19133

That's a UDP port for IPv6 and your firewall rule is a TCP one.

Last edited by -thc (2024-11-24 09:44:01)

Offline

#5 2024-11-24 09:56:51

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] Minecraft Server with IPv6

-thc wrote:
Elixirslayer wrote:

So, the minecraft-bedrock-server AUR package won't work? It does run fine on LAN, I'll test it on Ubuntu aswell.

No - just be aware of an unsupported configuration.


Elixirslayer wrote:
┌──(oc㉿ArchOp)-[~]
└─$ sudo ss -u -n -l -p | grep 19133
UNCONN 0      0                                      *:19133            *:*    users:(("bedrock_server",pid=16212,fd=10))

┌──(oc㉿ArchOp)-[~]
└─$ sudo ss -t -n -l -p | grep 19133

That's a UDP port for IPv6 and your firewall rule is a TCP one.

yeah i was confused between UDP and TCP, thanks for clarifying but i have already tested with both firewall config.
Do i need an iptables config?

Offline

#6 2024-11-24 10:12:41

-thc
Member
Registered: 2017-03-15
Posts: 775

Re: [SOLVED] Minecraft Server with IPv6

No - why should you? In the end all firewall frontends (like ufw, firewalld) program the netfilter subsystem in the kernel.
Does disabling the firewall change anything?

Offline

#7 2024-11-24 10:26:43

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] Minecraft Server with IPv6

-thc wrote:

No - why should you? In the end all firewall frontends (like ufw, firewalld) program the netfilter subsystem in the kernel.
Does disabling the firewall change anything?

Disabling it doesn't change anything.

I have another networking issue, my network literally doesn't work after reboot until i turn on cloudflare warp, tho after disabling it, network works fine.

Offline

#8 2024-11-24 11:55:43

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] Minecraft Server with IPv6

This is weird, now the minecraft server is working, perfectly accessible outside of my LAN.
I just tried using domain instead of actual ip once again on https://mcsrvstat.us
and it showed up.

Last edited by Elixirslayer (2024-11-24 12:03:55)

Offline

Board footer

Powered by FluxBB