Advertisement
Guest User

hosts.allow

a guest
Dec 9th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. gentoo-station@svetlov # cat /etc/hosts.allow
  2. # For more information, please see the hosts.allow(5) manpage
  3.  
  4. # Rule format:
  5. # daemon : client list
  6. # The value for 'daemon' is determined by the name of the binary.
  7. # OpenSSH runs as 'sshd' so you would use 'sshd' for 'daemon'.
  8. # Client list can be a list of ip's or hostnames.
  9.  
  10. # Allow only sshd connections from ips matching 192.168.0.*
  11. #sshd: 192.168.0.
  12. sshd: ALL
  13. # Only allow sendmail connections from the localhost
  14. #sendmail: localhost
  15.  
  16. # Allow everyone from foobar.edu to access everything except for
  17. # the terminalserver
  18. #ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement