guochuan101
发表于 2009-12-30 12:29
好东西 感谢分享
duren
发表于 2009-12-30 16:58
:)
look ! 感谢@@@
vaint
发表于 2009-12-31 23:42
那个划分VLAN倒是很有意思,楼主能再出点教程吗
bengbeng84
发表于 2010-1-1 20:55
这个一定要学习的
mate0801
发表于 2010-1-6 11:27
剛剛開始玩vpn ~ 參考一下
ycworld
发表于 2010-1-6 18:35
我也来看看
dhbowen
发表于 2010-1-6 22:35
研究一下支持奉献 感谢分享
ycxxcj
发表于 2010-1-6 23:01
本帖最后由 ycxxcj 于 2010-1-6 23:03 编辑
我自己架设了vpn,主要用于移动wap卡突破移动封锁,路由器的设置和楼主一样,但是客户端是这样设置的:
dev tap0
secret key.txt
http-proxy-retry
http-proxy 10.0.0.172 80
proto tcp-client
remote ycxxcj.3322.org 443
route-gateway 192.168.10.1
redirect-gateway
keepalive 10 60
resolv-retry infinite
nobind
persist-key
persist-tun
cipher BF-CBC
comp-lzo
verb 3
float
现在了可以直接上QQ和QQ游戏了,但是打不开网页不知道是什么情况,!请楼主指导下。
下边放上日志:
Wed Jan 06 15:27:31 2010 OpenVPN 2.0.9 Win32-MSVC++ built on Dec 13 2007
Wed Jan 06 15:27:31 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Wed Jan 06 15:27:31 2010 Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Jan 06 15:27:31 2010 Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 06 15:27:31 2010 Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Jan 06 15:27:31 2010 Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 06 15:27:31 2010 LZO compression initialized
Wed Jan 06 15:27:31 2010 TAP-WIN32 device [本地连接 2] opened: \\.\Global\{999FDE74-5169-4AEA-84DE-7C9273FF5B5A}.tap
Wed Jan 06 15:27:31 2010 TAP-Win32 Driver Version 8.4
Wed Jan 06 15:27:31 2010 TAP-Win32 MTU=1500
Wed Jan 06 15:27:31 2010 NOTE: FlushIpNetTable failed on interface {999FDE74-5169-4AEA-84DE-7C9273FF5B5A} (status=5) : 拒绝访问。
Wed Jan 06 15:27:31 2010 Data Channel MTU parms [ L:1579 D:1450 EF:47 EB:135 ET:32 EL:0 AF:3/1 ]
Wed Jan 06 15:27:31 2010 Local Options hash (VER=V4): '30b1d7b8'
Wed Jan 06 15:27:31 2010 Expected Remote Options hash (VER=V4): '810a7623'
Wed Jan 06 15:27:31 2010 Attempting to establish TCP connection with 10.0.0.172:80
Wed Jan 06 15:27:31 2010 TCP connection established with 10.0.0.172:80
Wed Jan 06 15:27:31 2010 Send to HTTP proxy: 'CONNECT ycxxcj.3322.org:443 HTTP/1.0'
Wed Jan 06 15:27:33 2010 HTTP proxy returned: 'HTTP/1.0 200 Connection established'
Wed Jan 06 15:27:35 2010 TCPv4_CLIENT link local:
Wed Jan 06 15:27:35 2010 TCPv4_CLIENT link remote: 10.0.0.172:80
Wed Jan 06 15:27:41 2010 Peer Connection Initiated with 10.0.0.172:80
Wed Jan 06 15:27:41 2010 TEST ROUTES: 1/1 succeeded len=0 ret=1 a=0 u/d=up
Wed Jan 06 15:27:41 2010 route ADD 10.0.0.172 MASK 255.255.255.255 192.168.0.1
Wed Jan 06 15:27:41 2010 ROUTE: route addition failed using CreateIpForwardEntry: 至少有一个参数不正确。
Wed Jan 06 15:27:41 2010 Route addition via IPAPI failed
Wed Jan 06 15:27:41 2010 route DELETE 0.0.0.0 MASK 0.0.0.0 192.168.0.1
Wed Jan 06 15:27:41 2010 ROUTE: route deletion failed using DeleteIpForwardEntry: 拒绝访问。
Wed Jan 06 15:27:41 2010 Route deletion via IPAPI failed
Wed Jan 06 15:27:41 2010 route ADD 0.0.0.0 MASK 0.0.0.0 192.168.10.1
Wed Jan 06 15:27:41 2010 ROUTE: route addition failed using CreateIpForwardEntry: 至少有一个参数不正确。
Wed Jan 06 15:27:41 2010 Route addition via IPAPI failed
Wed Jan 06 15:27:41 2010 Initialization Sequence Completed
Wed Jan 06 15:36:42 2010 Connection reset, restarting
Wed Jan 06 15:36:42 2010 TCP/UDP: Closing socket
Wed Jan 06 15:36:42 2010 SIGUSR1 received, process restarting
Wed Jan 06 15:36:42 2010 Restart pause, 5 second(s)
Wed Jan 06 15:36:47 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Wed Jan 06 15:36:47 2010 Re-using pre-shared static key
Wed Jan 06 15:36:47 2010 LZO compression initialized
Wed Jan 06 15:36:47 2010 Preserving previous TUN/TAP instance: 本地连接 2
Wed Jan 06 15:36:47 2010 Data Channel MTU parms [ L:1579 D:1450 EF:47 EB:135 ET:32 EL:0 AF:3/1 ]
Wed Jan 06 15:36:47 2010 Local Options hash (VER=V4): '30b1d7b8'
Wed Jan 06 15:36:47 2010 Expected Remote Options hash (VER=V4): '810a7623'
Wed Jan 06 15:36:47 2010 Attempting to establish TCP connection with 10.0.0.172:80
Wed Jan 06 15:36:48 2010 TCP connection established with 10.0.0.172:80
Wed Jan 06 15:36:48 2010 Send to HTTP proxy: 'CONNECT ycxxcj.3322.org:443 HTTP/1.0'
Wed Jan 06 15:36:50 2010 HTTP proxy returned: 'HTTP/1.0 200 Connection established'
Wed Jan 06 15:36:52 2010 TCPv4_CLIENT link local:
Wed Jan 06 15:36:52 2010 TCPv4_CLIENT link remote: 10.0.0.172:80
Wed Jan 06 15:36:54 2010 Peer Connection Initiated with 10.0.0.172:80
Wed Jan 06 15:36:54 2010 Initialization Sequence Completed
Wed Jan 06 16:33:56 2010 TCP/UDP: Closing socket
Wed Jan 06 16:33:56 2010 route DELETE 10.0.0.172 MASK 255.255.255.255 192.168.0.1
Wed Jan 06 16:33:56 2010 ROUTE: route deletion failed using DeleteIpForwardEntry: 拒绝访问。
Wed Jan 06 16:33:56 2010 Route deletion via IPAPI failed
Wed Jan 06 16:33:56 2010 route DELETE 0.0.0.0 MASK 0.0.0.0 192.168.10.1
Wed Jan 06 16:33:56 2010 ROUTE: route deletion failed using DeleteIpForwardEntry: 拒绝访问。
Wed Jan 06 16:33:56 2010 Route deletion via IPAPI failed
Wed Jan 06 16:33:56 2010 route ADD 0.0.0.0 MASK 0.0.0.0 192.168.0.1
Wed Jan 06 16:33:56 2010 ROUTE: route addition failed using CreateIpForwardEntry: 至少有一个参数不正确。
Wed Jan 06 16:33:56 2010 Route addition via IPAPI failed
Wed Jan 06 16:33:56 2010 Closing TUN/TAP interface
Wed Jan 06 16:33:56 2010 SIGTERM received, process exiting
Leave
发表于 2010-1-7 10:06
谢谢分享,正好需要
qiank128
发表于 2010-1-7 17:26
我是用在公司的
公司严格控制网络
用代理往外跑的
qiank128
发表于 2010-1-7 17:27
我是用在公司的
公司严格控制网络
用代理往外跑的
leonliao78
发表于 2010-1-7 19:39
好教程,谢谢楼主分享!:victory:
页:
1
2
3
4
5
[6]
7
8
9
10
11
12
13
14
15