Results 1 to 2 of 2
So what I have is a machine, here are some pretend IPs that sort of work the same:
Server: 192.168.7.5
Router: 192.168.7.1 / 210.12.17.87
Server 1:1 NAT config on router: ...
- 06-29-2009 #1
hosts.allow and hosts.deny
So what I have is a machine, here are some pretend IPs that sort of work the same:
Server: 192.168.7.5
Router: 192.168.7.1 / 210.12.17.87
Server 1:1 NAT config on router: 192.168.7.5 <-> 210.12.17.91
Laptop: 172.16.87.17 / 210.14.55.110
When I configure my hosts.allow, do I do it like this:
then hosts.deny like this:Code:sshd: 210.14.55.110, 192.168.7.11 (laptop's external IP at work, laptop's IP on site at co-loc) ALL EXCEPT sshd: localhost, 192.168.7.5 (server's own IP within the LAN)
Code:ALL: ALL
- 06-30-2009 #2
I don't remember (been too long since I used it) but you can probably find what you need by googling "tcpwrappers guide"
I know redhat has a pretty good one.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4


Reply With Quote
