- 论坛徽章:
- 2
|
禁止一个用户telnet到服务器
Limiting Access with TCP Wrappers
Install and configure TCP Wrappers and Portmap3. This is recommended for Solaris, SunOS, IRIX, and Tru-64 systems; most LINUX distributions already have TCP Wrappers installed, but the /etc/hosts.allow and /etc/hosts.deny files need to be configured. These utilities can be used to limit access to your system using an access control list. The TCP Wrapper program is used to control access to services run from inetd and Portmap3 is used to limit access to the portmapper or rpcbind services such as NFS and NIS. Use the following /etc/hosts.allow configuration file as an access control list template and modify as needed. It is preferable to limit access to only one or more of the following domains: lbl.gov, nersc.gov, es.net, psf-jgi.org. Hosts requiring access from outside these domains should be added on an individual basis by specifying the IP address of the specific host or subnet for a group of hosts. |
|