Recent Discussions
Issue solved, just talking mods now
Unanswered
American Fuzzy Lop posted this in #questions
151 messages
0 views
American Fuzzy LopOP
I recently started a minecraft server on linux. I am pretty new to linux. I have ufw installed and my desired port is open on my firewall and on my router. I am running my server on a separate machine then I am playing minecraft on. I can access the server while I am on the same internet as the server but when I set up a hotspot to test if I could access it outside my connection it did not work. I have disabled my firewall on both devices for a short time to troubleshoot the issue but the problem still persists. So I don't think it is the firewall that is the issue. This is my current port and firewall config.
IMG_20250121_1800512362.jpg
Screenshot_20250121-174503.png
just sharing the IP's are a riskier thing
American Fuzzy LopOP
idk dog
gonna hack ur mainframe because you opened the mc port

share the ports
dont share the ip
dont share the ip
problemo solved
and now we can help more lol
and now we can help more lol
American Fuzzy LopOP
I mean they are all port 25565
what does minecraft say when you try to connect to it
and also are you behind CGNAT?
# We may have bad news for you :C
You may be under a CGNAT which is a method that ISP's use to conserve IPV4 IP's due to how limited they are now. What this means in plain terms is that your IP address is being shared with other people as your router goes to the ISP's router, by default this means port forwarding doesn't work.
We need to check if you are under a CGNAT and we got 2 options.
### Option 1: commands
Depending on your OS, run the following command:
- Windows:
- Linux:
-# You should never run such things without reviewing and understanding the code
### Option 2: manually
Open your router's configuration interface. Somewhere, you'll see something like 'external' or 'public' IP.
If your external IP is in one of the following ranges, you're basically screwed as long as port forwards go:
- 10.0.0.0/8
- 172.16.0.0/20
- 192.168.0.0/16
- 100.64.0.0/10
- any IPv6 address/range - This shouldn't be a problem, but Minecraft's IPv6 support is still rather quirky. You're at your own, but we're happy if you share your experience.
## What do I do now?
You should ask your ISP for a public and IPv4 address (but this may cost you money).
NB: your internal IP should and most probably will be in one of the first three ranges, don't mix them up
You may be under a CGNAT which is a method that ISP's use to conserve IPV4 IP's due to how limited they are now. What this means in plain terms is that your IP address is being shared with other people as your router goes to the ISP's router, by default this means port forwarding doesn't work.
We need to check if you are under a CGNAT and we got 2 options.
### Option 1: commands
Depending on your OS, run the following command:
- Windows:
iex (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/DominicTWHV/Is-It-CGNAT/refs/heads/main/windows.ps1")- Linux:
curl -s https://raw.githubusercontent.com/DominicTWHV/Is-It-CGNAT/refs/heads/main/linux.sh | bash-# You should never run such things without reviewing and understanding the code
### Option 2: manually
Open your router's configuration interface. Somewhere, you'll see something like 'external' or 'public' IP.
If your external IP is in one of the following ranges, you're basically screwed as long as port forwards go:
- 10.0.0.0/8
- 172.16.0.0/20
- 192.168.0.0/16
- 100.64.0.0/10
- any IPv6 address/range - This shouldn't be a problem, but Minecraft's IPv6 support is still rather quirky. You're at your own, but we're happy if you share your experience.
## What do I do now?
You should ask your ISP for a public and IPv4 address (but this may cost you money).
NB: your internal IP should and most probably will be in one of the first three ranges, don't mix them up
American Fuzzy LopOP
I don't think so but just to be sure . How do I check?
with the big text wall i threw
American Fuzzy LopOP
I have port forwarded with this device on this router before. it is just running linux instead of windows now.
Oh hey there.
was hoping youd show up in this thread@Tamz They're from the subreddit. They've confirmed that they are not behind CGNAT, as their WAN IP on the router config matches what icanhazip shows.
aha
ok thats good then
@American Fuzzy Lop whats the issue when you connect to the mc server?
any error screen, perhaps server logs/client logs to give. anything would work
any error screen, perhaps server logs/client logs to give. anything would work
@American Fuzzy Lop Here are the guidelines for sharing information.
1. Hide your external IP address (what https://icanhazip.com shows)
2. Hide nothing else. No other information can be used to attack you, and everything else is useful for helping figure out what's wrong.
1. Hide your external IP address (what https://icanhazip.com shows)
2. Hide nothing else. No other information can be used to attack you, and everything else is useful for helping figure out what's wrong.
you can also use [Mclogs](https://mclo.gs/) to hide any ip address or sensitive information. it does that all automatically
American Fuzzy LopOP
connection timeout : getsockopt
Loading...
Loading...