1) use route -reject -net xxx.xxx.xxx.xxx mask xxx.xxx.xxx.xxx to reject any packets from certain ips. This is rough because you not only block tcp, but everything else(udp,rtp) from those ips.

numnum (numnum)
2) install a fire wall on your solaris and close the inbound tcp connection request to port 23
3) install a third party tcp wrap which provides ip address filtering function.
4)write your own in.inetd, it reads from a config file and gets all ip addresses you decide to deny access to, when it sees a telnet connection request, it simply closes the connection

2001-6-14 -04:00

回到话题: Can someone tell me how to block telnet from untrusted IP?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论