/etc/hosts.allow を設定し,TCP/IP 通信の制限を行う.
/etc/hosts.allowを書き換える (/etc/hosts.deny は触らない)
ALL : 127.0.0.1 : ALLOW ALL : 192.168.1.101 192.168.1.102 192.168.1.115 : ALLOW sshd : 192.168.33.162 : ALLOW gdm : 192.168.33.162 : ALLOW ALL : ALL : DENY
/etc/hosts.allowを書き換える (/etc/hosts.deny は触らない)
ALL : 127.0.0.1 : ALLOW ALL : 192.168.1. : ALLOW sshd : 192.168.33. : ALLOW gdm : 192.168.33. : ALLOW ALL : ALL : DENY