Ya its possible to have telnet server or any server without disabling firewall!
But I would suggest you to user ssh over telnet as ssh is more secured and telnet is not at all.
To have telent or ssh without disabling firewall;you need to allow those two services in iptables:
For ssh
Quote:
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
|
For telnet
Quote:
iptables -A INPUT -p tcp --dport 23 -j ACCEPT
|
you can also achieve this using
tcpwrappers i.e /etc/hosts.allow and /etc/hosts.deny