I would like to allow this Ip Range 94.1.1.1 to 94.15.255.255

I tried inputting this in the hosts.allow file after reading here that you need to use networks and netmasks? i don't know much about this so i don't know what i have done wrong.

94.1.1.1/255.255.255.255

but it did not work.

What should i be putting in the file to make it allow that ip range?

Thanks

link|improve this question

25% accept rate
feedback

3 Answers

up vote 2 down vote accepted

Using this subnetting calculator I get

94.1.1.1/12

as the value to put in your hosts.allow

link|improve this answer
thanks, but didn't work for some reason – James Mar 25 '11 at 8:28
1  
@James:In what way does it not work ? – Iain Mar 25 '11 at 8:32
Well i remote logged in to my home pc to test it, and it didn't let me in, but when i changed it to 94.0.0.0/255.240.0.0 it worked. Maybe i did something wrong? – James Mar 25 '11 at 10:00
That calculator is incredibly useful, ty – James Mar 25 '11 at 10:08
feedback

I think it should be 94.0.0.0/12 or 94.1.1.0/255.240.0.0

link|improve this answer
thanks, but both didn't work for some reason – James Mar 25 '11 at 8:29
Sorry, I had a little mistake there, you must use 94.0.0.0/255.240.0.0, You must use the network address, 94.0.0.0 in this case. I glad you has figured it out by yourself :) – CronosNull Mar 25 '11 at 18:26
feedback

using a mixture of what you both put, i managed to get it.

it was 94.0.0.0/255.240.0.0

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.