Click to See Complete Forum and Search --> : net access limeting


bolty
03-14-2001, 05:43 AM
I need to put a machine in a public part of our university with intra/internet access (but only to our university website). I was wondering if there is any way that I can make it only communicate with IP addresses in the 146.227.*.* range.

Is there any way of limeting the system to do this?

Lorithar
03-14-2001, 03:39 PM
*grins*

/etc/hosts.allow
/etc/hosts.deny

read man pages for specific details.
hosts.deny

ALL:ALL

hosts.allow

[service] 146.227.0.0:ALLOW


Where service is such as HTTP FTP etc etc.

see /etc/services for details on the listed ones...