我试图打开从Wheezy虚拟机到GNS3路由器的Telnet连接,但即使ping成功,我无法打开从虚拟机到任何路由器的Telnet连接。
连接性如此:VM>集线器> router1
注意:下面的所有评论都是在互联网上一小时之后完成的。 我不是Linux的专家,但我刚刚开始使用它,并喜欢它。
ps aux |的输出 grep telnet显示服务为up,我甚至安装了最初不在/etc/init.d中的xinetd。
root @ debian:/ home / debian#ps aux | grep telnet
root 4236 0.0 0.0 3556 780 pts / 1 S + 03:30 0:00 grep telnet
这是我的路线-n和nmap输出。
root@debian:/home/debian# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.20.0.1 0.0.0.0 UG 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 172.20.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
Nmap完成:3.26秒内扫描的IP地址(1主机)
root @ debian:/ home / debian#nmap -p 20-23 192.168.2.101
Starting Nmap 6.00 at 2015-12-20 03:37 EST Nmap scan report for 192.168.2.101 Host is up (0.020s latency). PORT STATE SERVICE 20/tcp filtered ftp-data 21/tcp closed ftp 22/tcp open ssh 23/tcp filtered telnet MAC Address: C2:01:08:88:00:00 (Unknown)
Nmap完成:1个IP地址(1个主机)在1.54秒内扫描
所以telnet出现过滤,ssh打开。
那么,是否有一些内部ACL过滤telnet连接,我将不得不在conf文件中进行一些更改?