Can I host a server if I have CGNAT ?
While trying to create a server I saw I have a WAN IP different from the public IP I get from 'whatismyip' websites. I have no idea how to deal with the double IP thingy, have you ever done this before ?
32 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by unecomplette#0
!cgnat
We may have bad news for you :C
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 portforwards 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.
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
Admincraft Canned Responses
You can ask your ISP for it essentially.
scrap, I'll call them then
I'm not sure if I understand this well, my WAN IP goes like 10.numbers.numbers.numbers, does it mean it is in the 10.0.0.0/8 range ?
10.x is a lan range
So yeah, if you have that on your wan, you are in trouble
hahahaha okay then i'm screwed, thanks guys i'll call my isp
You could still use ipv6 addresses
Or buy a small server for a couple of bucks and route everything through that using wireguard
Selfhosted Pro
YouTube
Using Wireguard and a VPS to Bypass ISP Port Blocking and Hide Your...
Welcome to Selfhosted Pro! In this video I'm going to be going over a way to use Wireguard to get around ISPs blocking your ports. Another benefit is this is a great way to hide your public IP without relying on Cloudflare.
All links to download and a full write-up are available on my moderatorβs blog:
https://wickedyoda.com/using-wireguard-an...
I pay a pretty expensive internet service for my work, I'm gonna complain and see what I get lol, I'll try those after this haha
Thanks π
ngrok/playit.gg can also be an option
Free plans have a very limited number of ports and bandwidth though, instead of getting a paid plan he can just get a VPS for a few bucks π€·ββοΈ
I'll get my eyes on this too, thanks for the tip π
putting some cents in here as well. i used a portmapper program i found on the 7 days to die decdicated server page and UPnP port 25565 and see if that opens it
If UPNP or PMP works, you should be able to manually forward the ports too.
not with spectrum. UPNP was the only way even though port checkers show ports are closed. my brother just tested my velocity server and it works
All UPNP does is programmatically add a port forwarding rule, so doing it manually should be no different. Interesting if Spectrum does stuff differently.
yeah its weird. i got a netgear router and i had an ISP called GoNetSpeed by Otelco and they made it stupid hard for ports, had to use playit -.-
Minekube Connect
The Ingress Tunnel for Minecraft Servers
also https://playit.gg
you'll need a connector, otherwise just scream at your ISP until they give you an IP
wireguard is also possible but it'd be a bit too complicated for the average user
Few bucks on like a 1c 1g budget VPS?
I have one, thatβs like $5 per month
Canβt run shit except for my own vpn node
And maybe a cdn node
Enough to run a wireguard tunnel. Only needs to have a good bandwidth, also for like 2$ he can get a 6gb ram server with 1 xeon thread and 1tb of bandwidth which is good enough for most use cases
wtf
Which VPS provider
Mine is only 1c 1g and itβs $5 per month
yes i'm curious about this too lol
also do you know what the /20, /16 or /10 refers to in the IPs the bot gives as exemples ?
![No description](https://cdn.answeroverflow.com/1267384941356777472/Capture_decran_2024-07-29_a_09.34.36.png)
i mean to me those could be ports but the exemple is supposed to potential router's IPs. To me an IP doesn't imply a port ? am I wrong ?
Reddit
SP3NGL3R's comment on "Private IPs range confusion"
Explore this conversation and more from the HomeNetworking community
They're called subnet masks.
That is CIDR notation
Datalix
Ah sorry its 2.5$ not 2 but yeah
/xx = CIDR notation
:xxxxx = specific port
datalix :pepeheart:
My old VPS provider used weird ass os
apt-get and apt install would just not be recognized by bash sometimes, and then it would magically restore itself
βUbuntu serverβ they say