On Sunday 26 August 2001 9:58 pm, you wrote: > Sevatio wrote: > > I've got a syntax question. I'm trying to tell one of my xinetd Swat > > file to allow access from all 192.168.0.* IP addresses but it doesn't > > seem to understand the '*'. So I looked at an example in > > Mandrakeuser.org and they used 192.168.0.0/24. What does the slash 24 > > signify in 192.168.0.0/24? > > > > TIA, > > Sevatio > > You can also use "192.168.0.0/255.255.255.0". In both examples, yours > and mine, everything on the right of the "/" indicates your submask, and > is a range of IP's starting at 192.168.0.0, going all the way to > 192.168.0.255. I hope this makes sense. Hopefully, someone else might > chime in with a little greater clarity. > > drjung The way i do this is just to use 192.168.0. (must have the last . ) as it treats the lack of the last number as a wild card. Access is mainly controlled by the hosts.allow file in /etc, and you can add this ip to allow all the adresses for all xinetd services, postfix etc. and you can specify ip's to allow for specific services, i foget the ssyntax but i imagine a man hosts.allow will tell you exactly what you need to know. Tom
Want to buy your Pack or Services from MandrakeSoft? Go to http://wwww.mandrakestore.com