PaperMC / Velocity

The modern, next-generation Minecraft server proxy.

Home Page:https://papermc.io/software/velocity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forced-Hosts not working

DavidFrings opened this issue · comments

I have a Velocity server with a domain and I am tying to use my domain with forced-hosts, but I can't get it running.
(My server only has ipv6 and an ufw firewall with 25565 allowed)
My normal domain works but the rest doesn't.

In Cloudflare I set a * Record(AAAA) and a @ record(AAAA) to my server

What's the exact domain you're trying to connect to?
Does your network support IPv6?
What message do you see when connecting?

my domain is privatgames.net and yes my network has ipv6 (the privatgames.net works but subdomains like mc.privatgames.net doesn't)

I can resolve an AAAA record for mc.privatgames.net. but not for privatgames.net., cannot connect to it however, so you need to figure out why it's being blocked.

And I activated the reverse proxy in Cloudflare

your root domain does not resolve to anything, your subdomain resolves to a cloudflare IP address, CF will not terminate non HTTP/S connections for you (not unless you pay $$$)

your root domain does not resolve to anything, your subdomain resolves to a cloudflare IP address, CF will not terminate non HTTP/S connections for you (not unless you pay $$$)

what do you mean with terminate non HTTP/S connections ?

They will not handle raw TCP streams, only web stuff

oh thx

I will check this

Yes that was the Problem!
For all the people who have the same problem,
deactivate the proxy!!!

And for the readme.md maybe make an Note...