How to disable Telnet???

I’m using a Digi CM 32, and have been unsuccessful at disabling Telnet, all incoming Telnet. We need a higher standard of security, and are only allowing SSH and HTTPS.
I have tried modifying the /etc/inetd.conf file, inserting a delimiter (#) in the line for Telnet, and saving, though after a reboot, the file is restored, no changes…
How do I completely disable Telnet? Any assistance you can provide would be much appreciated.
-Michael Tipsword, NSSA Univ. of Illinois

There are a couple of ways to go about doing this. Keep in mind my examples are based on current firmware, so if you aren’t on, you may want to upgrade if what I say doesn’t match what you see.

Over the web UI interface, you can disable incoming http under Network > Web Server Configuration. Telnet can be disabled under Network > IPFiltering (this is basically a GUI front end to iptables).

These things can also be disabled via iptables from the command-line interface. Here is an article using Telnet as an example of how to do this: