Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gentoo-station@svetlov # cat /etc/hosts.allow
- # For more information, please see the hosts.allow(5) manpage
- # Rule format:
- # daemon : client list
- # The value for 'daemon' is determined by the name of the binary.
- # OpenSSH runs as 'sshd' so you would use 'sshd' for 'daemon'.
- # Client list can be a list of ip's or hostnames.
- # Allow only sshd connections from ips matching 192.168.0.*
- #sshd: 192.168.0.
- sshd: ALL
- # Only allow sendmail connections from the localhost
- #sendmail: localhost
- # Allow everyone from foobar.edu to access everything except for
- # the terminalserver
- #ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement