Using Redhat 6.1 and kernel 2.2.14
I want to deny access to telnet and ftp from anyone on the internet. I
also want to allow only certain IP addresses on my local network(private
network) to access telnet and ftp.
I have the hosts.deny file set up correctly to deny all the above
services. I know it is working because I'm executing banners when I try
to execute telnet it will display the message "Access denied". My
hosts.allow file isn't working because I cannot access my localhost on
my private network with telnet.
"Hosts.allow"
in.telnetd: 192.168.0.0/24,192.168.1.0/24 :ALLOW
in.ftpd: 192.168.0.0/24,192.168.1.0/24 :ALLOW
"Hosts.deny"
in.telnetd: ALL: banners /etc/banners
in.ftpd: ALL: banners /etc/banners
Any ideas as to why it isn't working?
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]