Why Telnet Not Working From Different Network
Tags: lan, Linux, telnet, vlan
Due to certain reason, I have to enable telnet services on one of my server for some testing today. In fact, I know telnet is NOT secure but who care?
First of all, edit “/etc/xinetd.d/telnet“, modify “disable =no” and restart XINETD with “/etc/init.d/xinetd restart” command. Run “netstat -nap |grep 23” to make sure port 23 is open. Yes telnet service is working for me now.
After a while, my colleague complain that he can’t telnet from his laptop. Weird! I found out that telnet is not accept any connection from other VLAN network.
I have check the /var/log/messages, /var/log/xinetd.log and /var/log/secure but I can’t found any clue. Too bad! Firewall is not running and I try getting help from network team and he’s confirmed that telnet protocol is not block in switch or router level within the LAN.
Finally found a solution here:
The xinetd service only allow connection from 192.168.1.x network. Edit /etc/xinetd.conf and remark this line: “only_from = 192.168.1.0/24″, restart xinetd service and it’s worked fine.
That’s my mistake. Another lesson for me.
Possibly Related Posts:
- Setup a Linux Highly Availability NFS servers
- I decided to CHANGE
- How to find empty folders on Linux
- How to create full right permission on Samba share
- SSH Remote Access Authentication Tips
