How to Close telnet using ipchains
I set up my firewall using Ipchains, I already closed and denied telnet port 23, Infact when I try to telnet to my mailserver using : telnet mydomain.com simply refuses BUT when I try : telnet mydomain.com 25 it can connect to my mail server
and here's the output :
mydomain# telnet 192.168.20.11 25 or 53
Connected to 192.168.20.11.
Escape character is '^]'.
220 mailserver.mydomain.com ESMTP Sendmail 8.11.0/8.11.0; Tue, 19 Feb 2002 15:26:13 +0800
My objective is to close telnet in any way
here is my telnet firewall setting
/sbin/ipchains -A input -p tcp -s 0/0 -d xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy 23 -i eth1 -j DENY -l
Any advice would be greatly apprecia