How to access a Window XP Remote Destop in a ipv6 network

As we know, the original windows remote desktop client does not support ipv6 connection, so here, I provide a method to enable ubuntu user to access window  remote desktop in a ssh tunnel on a ipv6 network. This method also supports windows-to-windows connection.

  • Sever Configuation: (Windows end)
First, install openssh on Windows XP.



download



http://nchc.dl.sourceforge.net/sourceforge/sshwindows/setupssh381-20040709.zip



and install (the default install path is C:/program files/openssh)



enter terminal (run cmd):



cd C:/program files/openssh/bin



run the commands below:




mkgroup -l >> ../etc/group



mkpasswd -l -u >> ../etc/passwd



note: should be substitued into your username.



Second, setup a port proxty for ssh. (because windows ssh server can not suport ipv6)



netsh interface portproxy add v6tov4 listen listenport=22 connectionport=22

  • Client Configuation: (Linux or Windows)
install ssh.

sudo apt-get install ssh

install putty. (use this powerful tools to setup ssh tunnel).

sudo apt-get install putty

configuration:

session: (image)



SSH->Tunnel: (image)



click "open", open the ssh connection.

input usrname and passwd to login.



  • Now, we can use window remote Desktop
terminal server client (image)

click "Connect", we can access remote Windows Destop now.




The other method to support ssh tunnel on Linux Client:

ssh -L 3389/localhost/3389 wrsh1983@2001:da8:bf:0:20a:ebff:fe99:78da


we do not need putty in this way.















评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值