PDA

View Full Version : [SOLVED] hosts.allow


Cardale
September 8th, 2009, 08:11 AM
How would you setup your hosts allow file to accept any local lan user to ssh into the server? or even on specific workstation on the lan?

I try

ssh : LOCAL : allow

and that didn't work

I also tried

ssh : 127.0.0.1 : allow

and that didn't work

Thanks.

wojox
September 8th, 2009, 08:28 AM
Try:

ALL : 192.168.1.0/255.255.254.0

Cardale
September 8th, 2009, 08:33 AM
Thanks ..alright sweet got it work...what about if I want users to beable to see my webserver from outside my lan?

http : ALL ?

wojox
September 8th, 2009, 08:36 AM
If you mean just web pages I would port forward port 80 and 443 on my router. That how I have mine set up.

Cardale
September 8th, 2009, 03:57 PM
443? why? Don't I have to include some kind of hosts allow information to?

Cardale
September 8th, 2009, 05:01 PM
Well I looked up port 443 https.