Nord VPN connecting to a Minecraft server through Cloudflare DNS
Current setup:
Local hosted MC Server: 192.168.x.x:25565
Ngrok forming a tunnel: x.tc.ngrok.io:xxxxx
Using Cloudflare API to auto update the SRV record
Cloudflare SRV record: mincraft.domain.com _minecraft minecraft port ect.
Accessing the server without NordVPN works flawlessly however as soon as I turn it on, I loose the ability to connect.
I'm sure it is just a setting somewhere I need to turn on/off or add an entry to, however I cannot find any documentation on this anywhere.
TLDR: I need to allow NordVPN access to my Cloudflare DNS subdomain.
67 Replies
Your connection to the MC server is not being proxied through Cloudflare
So you're not being blocked by Cloudflare
Does NordVPN allow connections over non-http/s or non-standard ports?
I have read something about port forwarding
They do
What do you mean?
Well my website forwards to ngtok.io:12345 then that forwards to local:25565
It might be the port change that’s being blocked by Nord
From what I understand you basically have an Ngrok tunnel between your local port that's exposed
I thought that cloudflare may of had a blanket nord block
And an SRV record pointing to Ngrok
Correct
Cloudflare doesn't proxy that
So the block is not on Cloudflare 's side
They shouldn't notice that because it happens locally.
So it’s a nord vpn issue not cloudflare. Got ya
Or Ngrok
Without borders vpn it all works
Nordvpn
"Website"?
... What exactly is your SRV record?
I spoke to Nord support and they told me it was cloudflare
If you connect directly to the Ngrok address, does it work?
In Minecraft
Domain not website
With Nord
I haven’t tried with NordVPN and just ngrok I’ll try that and get back to you in an hour or so
You can also share your domain, your SRV record, et al, if you wish anyone here to have a look at the current set up.
Without, it'll be nothing but guessing.
Works with ngrok, but not with cloudflare DNS. So I must have a setting in cloudflare blocking Nord
What DNS settings are you using with Nord?
Are you using Cloudflare DNS?
1.1.1.1 and
1.0.0.1 i think
What OS do you use?
windows
Try resolving the record locally with
Resolve-DnsName -Name www.bing.com -Type SRV
What's the output?
You'll need to replace the name obviouslyis that powershell?
Yes
or ipconfig /
?
What about the SRV record though
I mean in the command output
Also the port was visible
In another spot
yeah I jsut realised that
You skipped _minecraft._tcp.
In the name
If you hadn't worked it out, I'm new to DNS.
From what I can(not) see
Oh
When connecting on the server that isn't needed
Yup, resolving the record is a different thing though
I'm also currently connected to NordVPN while getting this info
Does all that check out?
Also, what error specifically do you get in MC when you try to connect?
it can tell the server is running on the second one, but cannot connect "Unknown Host"
Nord off:
Can you send a screenshot of the error for the second one?
When you connect
but the subdomain resolves in the lookup in powershell
One more thing you could check - the output in PS with Nord off
Is it any different
excatly the same
I've flushed my dns also before sending
It's an odd one isnt it
Do you have the record set up for the root domain or a subdomain?
sub
I want to add other servers after I've figured this out
I travel alot and don't like using hotel wifi without a vpn
its honestly not the end of the world if I don't figure this out, but I've tried for 5-6 hours to figure this out today
before posting here. Originally I couldn't connect at all until I realised my VPN was active. Then it all started working
But even tho I bought my domain through CF, I dont have access to live chat
Some random things you could try:
1. Try setting the record for a different subdomain
2. Set if for the
mc.
(sub)subdomain, connect without the mc.
part though
I'm not quite sure where the difference in resolving between the MC client and the cmd could be coming fromsorry I'm nto entirely sure what your asking me to do connect on the root domain without the subdomain?
Set for mc.sub.domain.io, connect to sub.domain.io
So minecraft.minecraft.domain.io
the SRV record?
or a new one?
mc
, not minecraft
The rest can be anythingmc.minecraft.domain.io
That's fine
new SRV or modify the existing?
Can be a new one
all the other details the same?
im going to make a coffee while that DNS updates
Ye
nah that hasn't worked
thanks for trying, I appreciate it
One more place you could take a look at are Minecraft logs
With the non
mc
one
See what's logged when you try to connectTherels nothing. The only log in the last 6 hours was me connecting 5 mins ago