20090208

httptunnel配置成功

server:运行svn server,使用8080端口,防火墙只开放80端口。IP为1.2.3.4。
Client:通过浏览器访问不了server的8080端口。

解决:

下载http://www.nocrew.org/software/httptunnel.html

把压缩包里面"cvs20040323"目录下的:
cygwin1.dll
hts.exe
htc.exe

都放到server/client的"C:\windows"下面。

Server:cmd运行"hts -F 127.0.0.1:8080 80"
Client:cmd运行"htc -F 8888 1.2.3.4:80"

这个时候用浏览器访问:http://127.0.0.1:8888就相当于访问1.2.3.4没有开放的8080端口了,也就是svn服务了。

没有评论:

发表评论