Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to limit account connect per IP to server

Newbie Spellweaver
Joined
Mar 31, 2012
Messages
38
Reaction score
1
Hello. I have a Question. How can I limit account connection per IP to server?
Ex: I want limit 3 account can login ingame per IP connect to server.

Thank you
 
Elite Diviner
Joined
Jan 5, 2017
Messages
476
Reaction score
348
i did something similar in my register.php... make registration store ip... then check the number of same ips before registration completes...
 
Upvote 0
Elite Diviner
Joined
Jan 5, 2017
Messages
476
Reaction score
348
You mean by proxy or something...? My registration page is retrieving the ip in the background... Either way if peeps want to register multiple accounts they will find a way...
 
Upvote 0
Newbie Spellweaver
Joined
May 27, 2012
Messages
9
Reaction score
1
iptables -A INPUT -p tcp --syn --dport PWI_PORTS -m connlimit --connlimit-above 5 --connlimit-mask 32 -j REJECT --reject-with tcp-reset

5 per ip
 
Upvote 0
Back
Top