Win7 telnet VMware Linux

1.win7 ping Linux ip  Linux ping win7 ip ;

2.win7 open talent client

3.安装telnet的服务端:
sudo apt-get install telnetd
4.启动telnet服务:
/etc/init.d/openbsd-inetd start

5.防火墙配置

sudo iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 23 -j ACCEPT

sudo iptables-save > /etc/iptables.up.rules

sudo vi /etc/network/interfaces

6.添加Linux重启时加载的防火墙配置文件

pre-up iptables-restore < /etc/iptables.up.rules
post-down iptables-restore < /etc/iptables.down.rules(可不写)

保存退出

reboot

7.win7关闭防火墙, System32文件夹下运行命令行

telnet 192.168.19.129 23  (ip替换成自己 的ip)

8.完成。




你可能感兴趣的:(Win7 telnet VMware Linux)