On Mon, 8 Dec 1997, Ian Keith Setford wrote:
> I would like to configure my Debian box to accept telnet, ftp, and www
> connections. Right know I have my hosts.allow as ALL:ALL but I would like
> limit the connections to only those with my schools connections and my
> local LAN's machines.
> i.e. just allowing *.unt.edu and *.dimension.org
> What should my hosts.allow and hosts.deny files look like?
You should be able to use these in your files to do what you wish
**** /etc/hosts.allow ****
ALL: ALL@127.0.0.1 localhost #allow all from your localhost
ALL: .unt.edu #allow all from the unt.edu domain
ALL: .dimension.org #allow all from the dimension.org domain
**** /etc/hosts.deny ****
ALL: ALL #Will deny from all other sites
Hope this helps you out. there are many ways to setup these files but this
should do what you want.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .
- From: Ian Keith Setford <email@example.com>