新的文集,第一篇Windows相关的文章。为了完成人物绘画的作业,只好装个Windows来完成作业。那么先解决网络问题。
Ptunnel for Windows
下载地址:http://pan.baidu.com/s/1qY0gA4G
ptunnel是一个应用程序,允许您通过可靠的TCP隧道连接一个远程主机,并使用ICMP回送请求和应答包,俗称ping请求和回复。对于学校的糟糕网络来说,这是一个不错的应对措施。
以前写过Linux下的版本,更加完善,今晚发的Windows勉强能用(年代久远)。
服务器
Windows Server 下安装很简单:
c:>ptunnel -v 4 -c "DeviceNPF_{EED408B...}"
[inf]: Enable pcap Mode using device: DeviceNPF_{EED408B...}
[inf]: Starting ptunnel v 0.62.
[inf]: (c) 2004-2005 Daniel Stoedle, daniels@cs.uit.no Windows Port by michu / www.neophob.com
[inf]: HINT: start ptunnel with "-h" parameter to view help and Windows WinPcap devices
[inf]: Forwarding incoming ping packets over TCP.
[dbg]: Starting ping proxy..
[dbg]: Creating icmp datagram socket..
[inf]: Initializing pcap.
[vbs]: Network: 138.191.41.0
[vbs]: Netmask: 255.255.255.0
[inf]: Ping proxy is listening in privileged mode.
Linux 下一样。服务器一般都是Linux的吧。
客户端
这才是重点,Windows 下:
C:>ptunnel -p <SERVER1> -lp 8000 -da <WEB-PROXY> -dp <PORT> -v 4
[inf]: Starting ptunnel v 0.62.
[inf]: (c) 2004-2005 Daniel Stoedle, daniels@cs.uit.no Windows Port by michu / www.neophob.com
[inf]: HINT: start ptunnel with "-h" parameter to view help and Windows WinPcap devices
[inf]: Relaying packets from incoming TCP streams.
[dbg]: Starting forwarder..
[vbs]: Proxy IP address: 138.191.41.18
[inf]: Incoming connection.
[evt]: No running proxy thread - starting it.
[dbg]: Adding proxy desc to run loop. Type is user. Will create socket: No
[dbg]: Starting ping proxy..
[dbg]: Creating icmp datagram socket..
[inf]: Initializing pcap.
[vbs]: Network: 10.226.64.0
[vbs]: Netmask: 255.255.255.0
[inf]: Ping proxy is listening in privileged mode.
详细用法:http://neophob.com/2007/10/pingtunnel-for-windows-icmp-tunnel/
十年前的老文咯。
转为Socks代理
为了适应各种场合,转换一下很有必要:
喜欢用 Putty 的看这里:
- http://www.techrepublic.com/blog/it-security/use-putty-as-a-secure-proxy-on-windows/
- http://blog.teamextension.com/socks-proxy-over-ssh-on-windows-using-putty-1550
-
http://www.ytechie.com/2008/05/set-up-a-windows-ssh-tunnel-in-10-minutes-or-less/
喜欢直接用的看这里: - https://cn2.earthvpn.com/windows-ssh-tunnelsocks-proxy-tutorial/
好了,我可以上网了,今晚和舍友一起玩饥荒,所以光速发一篇水文,逃。(虽说是很水,但是很有用啊适用各种需要认证的网络,比如机场、地铁什么的)