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