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
Metriusz
Metriusz5mo ago
Your connection to the MC server is not being proxied through Cloudflare So you're not being blocked by Cloudflare
z0rrn
z0rrn5mo ago
Does NordVPN allow connections over non-http/s or non-standard ports?
Toadie
Toadie5mo ago
I have read something about port forwarding
Metriusz
Metriusz5mo ago
They do What do you mean?
Toadie
Toadie5mo ago
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
Metriusz
Metriusz5mo ago
From what I understand you basically have an Ngrok tunnel between your local port that's exposed
Toadie
Toadie5mo ago
I thought that cloudflare may of had a blanket nord block
Metriusz
Metriusz5mo ago
And an SRV record pointing to Ngrok
Toadie
Toadie5mo ago
Correct
Metriusz
Metriusz5mo ago
Cloudflare doesn't proxy that So the block is not on Cloudflare 's side
z0rrn
z0rrn5mo ago
They shouldn't notice that because it happens locally.
Toadie
Toadie5mo ago
So it’s a nord vpn issue not cloudflare. Got ya
Metriusz
Metriusz5mo ago
Or Ngrok
Toadie
Toadie5mo ago
Without borders vpn it all works Nordvpn
DarkDeviL
DarkDeviL5mo ago
"Website"? ... What exactly is your SRV record?
Toadie
Toadie5mo ago
I spoke to Nord support and they told me it was cloudflare
Metriusz
Metriusz5mo ago
If you connect directly to the Ngrok address, does it work? In Minecraft
Toadie
Toadie5mo ago
Domain not website
Metriusz
Metriusz5mo ago
With Nord
Toadie
Toadie5mo ago
I haven’t tried with NordVPN and just ngrok I’ll try that and get back to you in an hour or so
DarkDeviL
DarkDeviL5mo ago
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.
Toadie
Toadie5mo ago
Works with ngrok, but not with cloudflare DNS. So I must have a setting in cloudflare blocking Nord
Metriusz
Metriusz5mo ago
What DNS settings are you using with Nord? Are you using Cloudflare DNS?
Toadie
Toadie5mo ago
1.1.1.1 and 1.0.0.1 i think
Metriusz
Metriusz5mo ago
What OS do you use?
Toadie
Toadie5mo ago
windows
Metriusz
Metriusz5mo ago
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 obviously
Toadie
Toadie5mo ago
is that powershell?
Metriusz
Metriusz5mo ago
Yes
Toadie
Toadie5mo ago
or ipconfig /
Metriusz
Metriusz5mo ago
?
Toadie
Toadie5mo ago
No description
Metriusz
Metriusz5mo ago
What about the SRV record though I mean in the command output Also the port was visible In another spot
Toadie
Toadie5mo ago
yeah I jsut realised that
Toadie
Toadie5mo ago
No description
Metriusz
Metriusz5mo ago
You skipped _minecraft._tcp. In the name
Toadie
Toadie5mo ago
If you hadn't worked it out, I'm new to DNS.
Metriusz
Metriusz5mo ago
From what I can(not) see
Toadie
Toadie5mo ago
Oh When connecting on the server that isn't needed
Metriusz
Metriusz5mo ago
Yup, resolving the record is a different thing though
Toadie
Toadie5mo ago
No description
Toadie
Toadie5mo ago
I'm also currently connected to NordVPN while getting this info
Metriusz
Metriusz5mo ago
Does all that check out? Also, what error specifically do you get in MC when you try to connect?
Toadie
Toadie5mo ago
No description
Toadie
Toadie5mo ago
it can tell the server is running on the second one, but cannot connect "Unknown Host"
Toadie
Toadie5mo ago
Nord off:
No description
Metriusz
Metriusz5mo ago
Can you send a screenshot of the error for the second one? When you connect
Toadie
Toadie5mo ago
No description
Toadie
Toadie5mo ago
but the subdomain resolves in the lookup in powershell
Metriusz
Metriusz5mo ago
One more thing you could check - the output in PS with Nord off Is it any different
Toadie
Toadie5mo ago
excatly the same I've flushed my dns also before sending It's an odd one isnt it
Metriusz
Metriusz5mo ago
Do you have the record set up for the root domain or a subdomain?
Toadie
Toadie5mo ago
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
Metriusz
Metriusz5mo ago
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 from
Toadie
Toadie5mo ago
sorry I'm nto entirely sure what your asking me to do connect on the root domain without the subdomain?
Metriusz
Metriusz5mo ago
Set for mc.sub.domain.io, connect to sub.domain.io
Toadie
Toadie5mo ago
So minecraft.minecraft.domain.io the SRV record? or a new one?
Metriusz
Metriusz5mo ago
mc, not minecraft The rest can be anything
Toadie
Toadie5mo ago
mc.minecraft.domain.io
Metriusz
Metriusz5mo ago
That's fine
Toadie
Toadie5mo ago
new SRV or modify the existing?
Metriusz
Metriusz5mo ago
Can be a new one
Toadie
Toadie5mo ago
all the other details the same? im going to make a coffee while that DNS updates
Metriusz
Metriusz5mo ago
Ye
Toadie
Toadie5mo ago
nah that hasn't worked thanks for trying, I appreciate it
Metriusz
Metriusz5mo ago
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 connect
Toadie
Toadie5mo ago
Therels nothing. The only log in the last 6 hours was me connecting 5 mins ago