By default, InTime Server allows all hosts to connect to it. An argument flag “-hostsallow on” can be added to allow specific hosts to connect to the InTime Server.
To allow only specific hosts to connect to the InTime Server, create a file in <InTime Server installation directory>/hosts.allow.
$ ./start_server.sh -hostsallow on
[intime@server intimeserver]$ vi hosts.allow 192.168.6.1 192.168.23.9/32 192.168.8.0/24
The format of hosts.allow is as follows:
The first line allows the host 192.168.6.1 to connect to the InTime Server.
The second line allows the host 192.168.23.9/32. This is a CIDR notation with a mask of 255.255.255.255.
The last line allows a subnet of 192.168.8.0/24 – all hosts in the range 192.168.8.1 - 192.168.8.254 will be allowed to connect.
If the same host appears in both hosts.allow and hosts.deny, the host will be blocked – hosts.deny has priority. Generally, if hosts.allow is used, just remove hosts.deny to avoid confusion.
- Linux Operating System
- Windows Operating System
Knowledge Base ID: 6020 - Last Review: Jul 10, 2015 - Revision: 1.0