Block Numerical IPs

I saw that in Hypixel (as example), when you log in using the server Numerical IP, it is blocked, displaying a message saying that you have to use the IP “play.hypixel.net”. How is possible to make this? Also, make that when they use a numerical IP not to make ping in the server list?
50 Replies
Admincraft Meta
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 errebe#0
Discount Milk
Discount Milk2y ago
They have a bunch of custom stuff handling their network. They probably have a reverse proxy setup that any direct IP connections get rejected and use the same reverse proxy to make sure you always connect to an available server.
3rrebe
3rrebeOP2y ago
So actually it’s impossible to make this by config or plugins ?
snowznz.bak
snowznz.bak2y ago
its possible
Cooleg
Cooleg2y ago
Its very possible yeah, when your client joins a server it tells it the IP it connects with, so anyone not using the wierdest mod possible wouldnt be able to join. If you are using this for a proxy though, just secure it properly, don't use some wierd host address whitelisting.
snowznz.bak
snowznz.bak2y ago
ill whip up a plugin right now for you @3rrebe
3rrebe
3rrebeOP2y ago
I am not a dev 🥲
snowznz.bak
snowznz.bak2y ago
.
Cooleg
Cooleg2y ago
additionally if you are on paper you can relatively easily disable the server list stuff
ProGamingDk
ProGamingDk2y ago
2 sec got a plugin
Cooleg
Cooleg2y ago
let snowz cook they need plugin ideas
snowznz.bak
snowznz.bak2y ago
wait i think my brain isnt braining
Cooleg
Cooleg2y ago
playerloginevent has getHostname btw
ProGamingDk
ProGamingDk2y ago
GitHub
GitHub - ClumsyAdmin/DomainWhitelist
Contribute to ClumsyAdmin/DomainWhitelist development by creating an account on GitHub.
Cooleg
Cooleg2y ago
fuck you dk
snowznz.bak
snowznz.bak2y ago
i was just doing that 😡
3rrebe
3rrebeOP2y ago
Its for a proxy actually, it’s secured, but I want to make 100% secure That even in the proxy ip they cannot log in with the numerical just the domain hahahah
ProGamingDk
ProGamingDk2y ago
This wouldn't make it any more secure
Cooleg
Cooleg2y ago
yeah this sounded like something someone would use as a bandaid for security
3rrebe
3rrebeOP2y ago
thanks a lot for trying to make a plugin for me lul, so helpful ngl
Cooleg
Cooleg2y ago
but this shouldnt be used for "security"
3rrebe
3rrebeOP2y ago
thanks
ProGamingDk
ProGamingDk2y ago
Use internal backends and a good modern forwarding key
Cooleg
Cooleg2y ago
its easily spoofable, the client can just change what ip they say they come from lol
ProGamingDk
ProGamingDk2y ago
^
3rrebe
3rrebeOP2y ago
Im using xCord + BungeeGuard+ so as far I know everything should be secured
Cooleg
Cooleg2y ago
no harm in doing this too but dont make the mistake of thinking this would serve as a replacement for properly protecting your backend servers (you and anyone else who may come across this post later)
ProGamingDk
ProGamingDk2y ago
I would still make backends internal
3rrebe
3rrebeOP2y ago
wdym by internal 127.0.0.1?
ProGamingDk
ProGamingDk2y ago
Making backends not receive connections from outside the machine Are u using pterodactyl?
3rrebe
3rrebeOP2y ago
yes I do how
ProGamingDk
ProGamingDk2y ago
Minecraft | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
ProGamingDk
ProGamingDk2y ago
Follow this and ur done
3rrebe
3rrebeOP2y ago
it’s not my own panel i cannot access to those
ProGamingDk
ProGamingDk2y ago
Do u use Bloom?
3rrebe
3rrebeOP2y ago
another service it’s not public at all they’re providing to us service because it’s contracted by a youtuber
ProGamingDk
ProGamingDk2y ago
Ah u should still be able to talk to one of their staff to get it up and running
3rrebe
3rrebeOP2y ago
and they’re friends
ProGamingDk
ProGamingDk2y ago
Do note other servers on the node will still be able to contact ur backends
3rrebe
3rrebeOP2y ago
i have direct contact with the host so I will notify them thanks a lot
ProGamingDk
ProGamingDk2y ago
No problem
Cooleg
Cooleg2y ago
wait dk
ProGamingDk
ProGamingDk2y ago
Ye?
Cooleg
Cooleg2y ago
that wierd plugin you sent me could also help right
ProGamingDk
ProGamingDk2y ago
Safenet?
Cooleg
Cooleg2y ago
ye
ProGamingDk
ProGamingDk2y ago
Ig? But internal is better
Cooleg
Cooleg2y ago
well safenet is basically velocity modern fair
3rrebe
3rrebeOP2y ago
I already contact them, and they will make what you told me There's something else to do to secure more the network?
Deleted User
Deleted User2y ago
there's only so much you can do i think you should focus more on your server's content other than securing your server now

Did you find this page helpful?