Trying to open a server but you keep getting this dreaded message:
The solution is quick and simple - You need to edit your CIDR range of allowed connections in ascent-logon.conf.Originally Posted by Console
'But wait', you may ask, 'what should I put there?'
Well, i'll first explain about CIDR structure and then tell you
CIDR is an easy way to define IP ranges.
Refer to the following table:
It lists all the CIDR ranges one can compile.Code:IP/CIDR ? to last IP addr a.b.c.d/32 +0.0.0.0 a.b.c.d/31 +0.0.0.1 a.b.c.d/30 +0.0.0.3 a.b.c.d/29 +0.0.0.7 a.b.c.d/28 +0.0.0.15 a.b.c.d/27 +0.0.0.31 a.b.c.d/26 +0.0.0.63 a.b.c.d/25 +0.0.0.127 a.b.c.0/24 +0.0.0.255 a.b.c.0/23 +0.0.1.255 a.b.c.0/22 +0.0.3.255 a.b.c.0/21 +0.0.7.255 a.b.c.0/20 +0.0.15.255 a.b.c.0/19 +0.0.31.255 a.b.c.0/18 +0.0.63.255 a.b.c.0/17 +0.0.127.255 a.b.0.0/16 +0.0.255.255 a.b.0.0/15 +0.1.255.255 a.b.0.0/14 +0.3.255.255 a.b.0.0/13 +0.7.255.255 a.b.0.0/12 +0.15.255.255 a.b.0.0/11 +0.31.255.255 a.b.0.0/10 +0.63.255.255 a.b.0.0/9 +0.127.255.255 a.0.0.0/8 +0.255.255.255 a.0.0.0/7 +1.255.255.255 a.0.0.0/6 +3.255.255.255 a.0.0.0/5 +7.255.255.255 a.0.0.0/4 +15.255.255.255 a.0.0.0/3 +31.255.255.255 a.0.0.0/2 +63.255.255.255 a.0.0.0/1 +127.255.255.255 0.0.0.0/0 +255.255.255.255
If, for instance, you want to ban a certain ISP, and you know their ip range from 135.129.0.0 up untill 135.129.255.255, refer to the table and find the range that adds 0.0.255.255:
a.b.0.0/16
Meaning, the CIDR 135.129.0.0/16 defines that range we wanted to ban.
Now we can add it to the ipbans table or whatever.
Now, say your server is getting that nasty NOT AN ALLOWED IP issue.
Look at the ip - if it's a local server, you should be getting 127.0.0.1, or your local network ip, say 192.168.0.1.
The easy solution is just setting the allowed IPs to 0.0.0.0/0 (Take a look at the table - it includes ALL existing ips, 0.0.0.0 until 255.255.255.255). However, this is a major security flaw that enables people to log into your logon server. NEVER use 0.0.0.0/0.
What you want to do there is just let 127.0.0.1 to log in (if the server is local):
127.0.0.1/32 will only let that one ip address to log in, effectively protecting you.
So if you need to ban a range, or give it Mod rights, refer to the table I posted.
Good luck![]()